public class MultiMapContainer extends Object
MultiMapValue
.Modifier and Type | Field and Description |
---|---|
protected MultiMapConfig |
config |
protected ConcurrentMap<Data,MultiMapValue> |
multiMapValues |
protected String |
name |
protected NodeEngine |
nodeEngine |
Constructor and Description |
---|
MultiMapContainer(String name,
MultiMapService service,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
void |
access() |
boolean |
canAcquireLock(Data dataKey,
String caller,
long threadId) |
int |
clear() |
boolean |
containsEntry(boolean binary,
Data key,
Data value) |
boolean |
containsKey(Data key) |
boolean |
containsValue(boolean binary,
Data value) |
Map<Data,Collection<MultiMapRecord>> |
copyCollections() |
void |
delete(Data dataKey) |
void |
destroy() |
boolean |
extendLock(Data key,
String caller,
long threadId,
long ttl) |
boolean |
forceUnlock(Data key) |
MultiMapConfig |
getConfig() |
long |
getCreationTime() |
long |
getLastAccessTime() |
long |
getLastUpdateTime() |
long |
getLockedCount() |
String |
getLockOwnerInfo(Data dataKey) |
MultiMapValue |
getMultiMapValueOrNull(Data dataKey) |
ConcurrentMap<Data,MultiMapValue> |
getMultiMapValues() |
MultiMapValue |
getOrCreateMultiMapValue(Data dataKey) |
boolean |
isLocked(Data dataKey) |
boolean |
isTransactionallyLocked(Data key) |
Set<Data> |
keySet() |
long |
nextId() |
Collection<MultiMapRecord> |
remove(Data dataKey,
boolean copyOf) |
void |
setId(long newValue) |
int |
size() |
boolean |
txnLock(Data key,
String caller,
long threadId,
long referenceId,
long ttl,
boolean blockReads) |
boolean |
unlock(Data key,
String caller,
long threadId,
long referenceId) |
void |
update() |
Collection<MultiMapRecord> |
values() |
protected final String name
protected final NodeEngine nodeEngine
protected final MultiMapConfig config
protected final ConcurrentMap<Data,MultiMapValue> multiMapValues
public MultiMapContainer(String name, MultiMapService service, int partitionId)
public boolean isLocked(Data dataKey)
public boolean isTransactionallyLocked(Data key)
public boolean txnLock(Data key, String caller, long threadId, long referenceId, long ttl, boolean blockReads)
public boolean forceUnlock(Data key)
public long nextId()
public void setId(long newValue)
public void delete(Data dataKey)
public Collection<MultiMapRecord> remove(Data dataKey, boolean copyOf)
public Collection<MultiMapRecord> values()
public boolean containsKey(Data key)
public boolean containsValue(boolean binary, Data value)
public Map<Data,Collection<MultiMapRecord>> copyCollections()
public int size()
public int clear()
public void destroy()
public void access()
public void update()
public long getLastAccessTime()
public long getLastUpdateTime()
public long getCreationTime()
public long getLockedCount()
public MultiMapValue getOrCreateMultiMapValue(Data dataKey)
public MultiMapValue getMultiMapValueOrNull(Data dataKey)
public ConcurrentMap<Data,MultiMapValue> getMultiMapValues()
public MultiMapConfig getConfig()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.