Skip to content

Commit

Permalink
Add jar files into the github repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Wilke committed Mar 20, 2015
1 parent e405bd8 commit aa82b0b
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 20 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# redis-mock-java
An in-memory redis-compatible implementation written in Java.
An in-memory redis-compatible implementation written in pure Java. Part of the [Rarefied Redis Project](http://wilkenstein.github.io/rarefied-redis/).

### Status
[![Build Status](https://travis-ci.org/wilkenstein/redis-mock-java.svg?branch=master)](https://travis-ci.org/wilkenstein/redis-mock-java)

## Rarefied Redis

This repository is part of the Rarefied Redis Project. TODO: Link.

## Installation

### maven
Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,31 @@
<packaging>jar</packaging>

<name>redis-java</name>
<description>An in-memory redis-compatible implementation written in pure Java</description>
<url>http://maven.apache.org</url>

<licenses>
<license>
<name>MIT License</name>
<url>https://github.com/wilkenstein/redis-mock-java/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:[email protected]:wilkenstein/redis-mock-java.git</connection>
<developerConnection>scm:git:[email protected]:wilkenstein/redis-mock-java.git</developerConnection>
<url>https://github.com/wilkenstein/redis-mock-java</url>
</scm>

<developers>
<developer>
<name>Brian Wilke</name>
<email>[email protected]</email>
<organization>Rarefied Redis</organization>
<organizationUrl>http://wilkenstein.github.io/rarefied-redis/</organizationUrl>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
30 changes: 15 additions & 15 deletions src/main/java/org/rarefiedredis/redis/IRedisHash.java
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
public interface IRedisHash {

public Long hdel(String key, String field) throws WrongTypeException, NotImplementedException;
Long hdel(String key, String field) throws WrongTypeException, NotImplementedException;

public Integer hexists(String key, String field) throws WrongTypeException, NotImplementedException;
Integer hexists(String key, String field) throws WrongTypeException, NotImplementedException;

public String hget(String key, String field) throws WrongTypeException, NotImplementedException;
String hget(String key, String field) throws WrongTypeException, NotImplementedException;

public String[] hgetall(String key) throws WrongTypeException, NotImplementedException;
String[] hgetall(String key) throws WrongTypeException, NotImplementedException;

public Long hincrby(String key, String field, Long increment) throws WrongTypeException, NotImplementedException;
Long hincrby(String key, String field, Long increment) throws WrongTypeException, NotImplementedException;

public Float hincrbyfloat(String key, String field, Float increment) throws WrongTypeException, NotImplementedException;
Float hincrbyfloat(String key, String field, Float increment) throws WrongTypeException, NotImplementedException;

public String[] hkeys(String key) throws WrongTypeException, NotImplementedException;
String[] hkeys(String key) throws WrongTypeException, NotImplementedException;

public Long hlen(String key) throws WrongTypeException, NotImplementedException;
Long hlen(String key) throws WrongTypeException, NotImplementedException;

public String[] hmget(String key, String field, String ... fields) throws WrongTypeException, NotImplementedException;
String[] hmget(String key, String field, String ... fields) throws WrongTypeException, NotImplementedException;

public String hmset(String key, String field, String value, Object ... fieldsvalues) throws WrongTypeException, NotImplementedException;
String hmset(String key, String field, String value, Object ... fieldsvalues) throws WrongTypeException, NotImplementedException;

public Integer hset(String key, String field, String value) throws WrongTypeException, NotImplementedException;
Integer hset(String key, String field, String value) throws WrongTypeException, NotImplementedException;

public Integer hsetnx(String key, String field, String value) throws WrongTypeException, NotImplementedException;
Integer hsetnx(String key, String field, String value) throws WrongTypeException, NotImplementedException;

public Long hstrlen(String key, String field) throws WrongTypeException, NotImplementedException;
Long hstrlen(String key, String field) throws WrongTypeException, NotImplementedException;

public String[] hvals(String key) throws WrongTypeException, NotImplementedException;
String[] hvals(String key) throws WrongTypeException, NotImplementedException;

public String[] hscan(String key, Long cursor) throws WrongTypeException, NotImplementedException;
String[] hscan(String key, Long cursor) throws WrongTypeException, NotImplementedException;

}
Binary file added target/redis-java-0.0.1-jar-with-dependencies.jar
Binary file not shown.
Binary file added target/redis-java-0.0.1-sources.jar
Binary file not shown.
Binary file added target/redis-java-0.0.1.jar
Binary file not shown.

0 comments on commit aa82b0b

Please sign in to comment.