org.springframework.datastore.redis.collection
Interface RedisCollection

All Superinterfaces:
Collection, Iterable
All Known Implementing Classes:
AbstractRedisCollection, RedisList, RedisSet

public interface RedisCollection
extends Collection

Commons interface for Redis collections


Method Summary
 String getRedisKey()
          They key used by the collection
 Set<String> members()
           
 List<String> members(int offset, int max)
           
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getRedisKey

String getRedisKey()
They key used by the collection

Returns:
The redis key

members

Set<String> members()

members

List<String> members(int offset,
                     int max)