public class DummyQueueStore extends Object implements QueueStore<Object>
Constructor and Description |
---|
DummyQueueStore() |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
load(Long key)
Loads the value of a given key.
|
Map<Long,Object> |
loadAll(Collection<Long> keys)
Loads given keys.
|
Set<Long> |
loadAllKeys()
Loads all of the keys from the store.
|
void |
store(Long key,
Object value)
Stores the key-value pair.
|
void |
storeAll(Map<Long,Object> map)
Stores multiple entries.
|
public void store(Long key, Object value)
QueueStore
store
in interface QueueStore<Object>
key
- key of the entry to storevalue
- value of the entry to storepublic void storeAll(Map<Long,Object> map)
QueueStore
storeAll
in interface QueueStore<Object>
map
- map of entries to storepublic void delete(Long key)
QueueStore
delete
in interface QueueStore<Object>
key
- key to delete from the store.public void deleteAll(Collection<Long> keys)
QueueStore
deleteAll
in interface QueueStore<Object>
keys
- keys of the entries to delete.public Object load(Long key)
QueueStore
load
in interface QueueStore<Object>
public Map<Long,Object> loadAll(Collection<Long> keys)
QueueStore
loadAll
in interface QueueStore<Object>
keys
- keys of the values entries to loadpublic Set<Long> loadAllKeys()
QueueStore
loadAllKeys
in interface QueueStore<Object>
Copyright © 2014 Hazelcast, Inc.. All rights reserved.