diff --git a/README.md b/README.md index 46b55c6..5bc1bb0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pom.xml b/pom.xml index 184f856..8e90c1d 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,31 @@ jar redis-java + An in-memory redis-compatible implementation written in pure Java http://maven.apache.org + + + + MIT License + https://github.com/wilkenstein/redis-mock-java/blob/master/LICENSE + repo + + + + + scm:git:git@github.com:wilkenstein/redis-mock-java.git + scm:git:git@github.com:wilkenstein/redis-mock-java.git + https://github.com/wilkenstein/redis-mock-java + + + + + Brian Wilke + wilke.brian@gmail.com + Rarefied Redis + http://wilkenstein.github.io/rarefied-redis/ + + UTF-8 diff --git a/src/main/java/org/rarefiedredis/redis/IRedisHash.java b/src/main/java/org/rarefiedredis/redis/IRedisHash.java index bb02207..ff8457d 100644 --- a/src/main/java/org/rarefiedredis/redis/IRedisHash.java +++ b/src/main/java/org/rarefiedredis/redis/IRedisHash.java @@ -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; } diff --git a/target/redis-java-0.0.1-jar-with-dependencies.jar b/target/redis-java-0.0.1-jar-with-dependencies.jar new file mode 100644 index 0000000..dc5b515 Binary files /dev/null and b/target/redis-java-0.0.1-jar-with-dependencies.jar differ diff --git a/target/redis-java-0.0.1-sources.jar b/target/redis-java-0.0.1-sources.jar new file mode 100644 index 0000000..5b30246 Binary files /dev/null and b/target/redis-java-0.0.1-sources.jar differ diff --git a/target/redis-java-0.0.1.jar b/target/redis-java-0.0.1.jar new file mode 100644 index 0000000..f5eaa53 Binary files /dev/null and b/target/redis-java-0.0.1.jar differ