public class RedisJobRepository extends AbstractRedisInstanceRepository<Job> implements JobRepository
JobRepository
, uses a RedisJobDefinitionRepository
in turn.redisOperations, repoPrefix, zSetOperations
Constructor and Description |
---|
RedisJobRepository(org.springframework.data.redis.core.RedisOperations<java.lang.String,java.lang.String> redisOperations,
RedisJobDefinitionRepository redisJobDefinitionRepository) |
Modifier and Type | Method and Description |
---|---|
protected Job |
deserialize(java.lang.String id,
java.lang.String v)
Deserialize from the String representation to the domain object.
|
protected java.lang.String |
serialize(Job entity)
Provide a String representation of the domain entity.
|
deserializeId, keyFor, serializeId
count, delete, delete, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findAllInRange, findOne, getPrefix, idFromRedisKey, redisKeyFromId, save, save, setPrefix, trackMembership
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAll, findAll
count, delete, delete, delete, deleteAll, exists, findAll, findAll, findOne, save, save
findAllInRange
public RedisJobRepository(org.springframework.data.redis.core.RedisOperations<java.lang.String,java.lang.String> redisOperations, RedisJobDefinitionRepository redisJobDefinitionRepository)
protected Job deserialize(java.lang.String id, java.lang.String v)
AbstractRedisRepository
deserialize
in class AbstractRedisRepository<Job,java.lang.String>
id
- the entity idv
- the serialized representation of the domain objectprotected java.lang.String serialize(Job entity)
AbstractRedisRepository
serialize
in class AbstractRedisRepository<Job,java.lang.String>