-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Wilke
committed
Mar 20, 2015
1 parent
e405bd8
commit aa82b0b
Showing
6 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.