Class RqueueStringDaoImpl
java.lang.Object
com.github.sonus21.rqueue.dao.impl.RqueueStringDaoImpl
- All Implemented Interfaces:
RqueueStringDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToOrderedSetWithScore(String key, String value, long score) voidappendToListWithListExpiry(String listName, String data, Duration duration) voidappendToSet(String setName, String... data) delete(Collection<String> keys) voiddeleteAndSet(Collection<String> keysToBeRemoved, Map<String, Object> objectsToBeStored) deleteIfSame(String key, String value) getListSize(String name) getSortedSetSize(String name) readFromList(String key) readFromLists(List<String> keys) readFromOrderedSetWithScoreBetween(String key, long start, long end) readFromSet(String setName) voidsetIfAbsent(String key, String value, Duration duration) org.springframework.data.redis.connection.DataType
-
Constructor Details
-
RqueueStringDaoImpl
-
-
Method Details
-
readFromLists
- Specified by:
readFromListsin interfaceRqueueStringDao
-
readFromList
- Specified by:
readFromListin interfaceRqueueStringDao
-
appendToListWithListExpiry
- Specified by:
appendToListWithListExpiryin interfaceRqueueStringDao
-
appendToSet
- Specified by:
appendToSetin interfaceRqueueStringDao
-
readFromSet
- Specified by:
readFromSetin interfaceRqueueStringDao
-
delete
- Specified by:
deletein interfaceRqueueStringDao
-
set
- Specified by:
setin interfaceRqueueStringDao
-
get
- Specified by:
getin interfaceRqueueStringDao
-
delete
- Specified by:
deletein interfaceRqueueStringDao
-
deleteAndSet
public Object deleteAndSet(Collection<String> keysToBeRemoved, Map<String, Object> objectsToBeStored) - Specified by:
deleteAndSetin interfaceRqueueStringDao
-
setIfAbsent
- Specified by:
setIfAbsentin interfaceRqueueStringDao
-
getListSize
- Specified by:
getListSizein interfaceRqueueStringDao
-
getSortedSetSize
- Specified by:
getSortedSetSizein interfaceRqueueStringDao
-
type
- Specified by:
typein interfaceRqueueStringDao
-
deleteIfSame
- Specified by:
deleteIfSamein interfaceRqueueStringDao
-
addToOrderedSetWithScore
- Specified by:
addToOrderedSetWithScorein interfaceRqueueStringDao
-
readFromOrderedSetWithScoreBetween
public List<org.springframework.data.redis.core.ZSetOperations.TypedTuple<String>> readFromOrderedSetWithScoreBetween(String key, long start, long end) - Specified by:
readFromOrderedSetWithScoreBetweenin interfaceRqueueStringDao
-
deleteAll
- Specified by:
deleteAllin interfaceRqueueStringDao
-