|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.queue.impl.QueueStoreWrapper
public final class QueueStoreWrapper
Wrapper for the Queue Store.
Method Summary | |
---|---|
static QueueStoreWrapper |
create(String name,
QueueStoreConfig storeConfig,
SerializationService serializationService)
Factory method that creates a QueueStoreWrapper |
void |
delete(Long key)
Deletes the entry with a given key from the store. |
void |
deleteAll(Collection<Long> keys)
Deletes multiple entries from the store. |
int |
getBulkLoad()
|
int |
getMemoryLimit()
|
boolean |
isBinary()
|
boolean |
isEnabled()
|
Data |
load(Long key)
Loads the value of a given key. |
Map<Long,Data> |
loadAll(Collection<Long> keys)
Loads the given keys. |
Set<Long> |
loadAllKeys()
Loads all of the keys from the store. |
void |
store(Long key,
Data value)
Stores the key-value pair. |
void |
storeAll(Map<Long,Data> map)
Stores multiple entries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static QueueStoreWrapper create(String name, QueueStoreConfig storeConfig, SerializationService serializationService)
QueueStoreWrapper
name
- queue namestoreConfig
- store config of queueserializationService
- serialization service.
QueueStoreWrapper
public void store(Long key, Data value)
QueueStore
store
in interface QueueStore<Data>
key
- key of the entry to storevalue
- value of the entry to storepublic void storeAll(Map<Long,Data> map)
QueueStore
storeAll
in interface QueueStore<Data>
map
- map of entries to storepublic void delete(Long key)
QueueStore
delete
in interface QueueStore<Data>
key
- key to delete from the store.public void deleteAll(Collection<Long> keys)
QueueStore
deleteAll
in interface QueueStore<Data>
keys
- keys of the entries to delete.public Data load(Long key)
QueueStore
load
in interface QueueStore<Data>
public Map<Long,Data> loadAll(Collection<Long> keys)
QueueStore
loadAll
in interface QueueStore<Data>
keys
- keys of the value entries to load
public Set<Long> loadAllKeys()
QueueStore
loadAllKeys
in interface QueueStore<Data>
public boolean isEnabled()
public boolean isBinary()
public int getMemoryLimit()
public int getBulkLoad()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |