public class RedisTapDefinitionRepository extends AbstractRedisDefinitionRepository<TapDefinition> implements TapDefinitionRepository
TapDefinitionRepository
that persists @{link TapDefinition} in Redis.redisOperations, zSetOperations
Constructor and Description |
---|
RedisTapDefinitionRepository(org.springframework.data.redis.core.RedisOperations<java.lang.String,java.lang.String> redisOperations) |
Modifier and Type | Method and Description |
---|---|
protected TapDefinition |
deserialize(java.lang.String redisKey,
java.lang.String v)
Deserialize from the String representation to the domain object.
|
protected java.lang.String |
serialize(TapDefinition entity)
Provide a String representation of the domain entity.
|
deserializeId, keyFor, serializeId
count, delete, delete, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findOne, getPrefix, idFromRedisKey, redisKeyFromId, save, save, setPrefix, trackMembership
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RedisTapDefinitionRepository(org.springframework.data.redis.core.RedisOperations<java.lang.String,java.lang.String> redisOperations)
protected TapDefinition deserialize(java.lang.String redisKey, java.lang.String v)
AbstractRedisRepository
deserialize
in class AbstractRedisRepository<TapDefinition,java.lang.String>
redisKey
- the entity idv
- the serialized representation of the domain objectprotected java.lang.String serialize(TapDefinition entity)
AbstractRedisRepository
serialize
in class AbstractRedisRepository<TapDefinition,java.lang.String>