public final class QueueStoreWrapper extends Object implements QueueStore<Data>
| Modifier and Type | Method and Description | 
|---|---|
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 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. 
 | 
public static QueueStoreWrapper create(String name, QueueStoreConfig storeConfig, SerializationService serializationService)
QueueStoreWrappername - queue namestoreConfig - store config of queueserializationService - serialization service.QueueStoreWrapperpublic void store(Long key, Data value)
QueueStorestore in interface QueueStore<Data>key - key of the entry to storevalue - value of the entry to storepublic void storeAll(Map<Long,Data> map)
QueueStorestoreAll in interface QueueStore<Data>map - map of entries to storepublic void delete(Long key)
QueueStoredelete in interface QueueStore<Data>key - key to delete from the store.public void deleteAll(Collection<Long> keys)
QueueStoredeleteAll in interface QueueStore<Data>keys - keys of the entries to delete.public Data load(Long key)
QueueStoreload in interface QueueStore<Data>public Map<Long,Data> loadAll(Collection<Long> keys)
QueueStoreloadAll in interface QueueStore<Data>keys - keys of the values entries to loadpublic Set<Long> loadAllKeys()
QueueStoreloadAllKeys in interface QueueStore<Data>public boolean isEnabled()
public boolean isBinary()
public int getMemoryLimit()
public int getBulkLoad()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.