com.hazelcast.multimap.impl
public class MultiMapContainer extends Object
Modifier and Type | Field and Description |
---|---|
protected MultiMapConfig |
config |
protected ConcurrentMap<Data,MultiMapWrapper> |
multiMapWrappers |
protected String |
name |
protected NodeEngine |
nodeEngine |
Constructor and Description |
---|
MultiMapContainer(String name,
MultiMapService service,
int partitionId) |
protected final String name
protected final NodeEngine nodeEngine
protected final MultiMapConfig config
protected final ConcurrentMap<Data,MultiMapWrapper> multiMapWrappers
public MultiMapContainer(String name, MultiMapService service, int partitionId)
public boolean isLocked(Data dataKey)
public boolean isTransactionallyLocked(Data key)
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 MultiMapWrapper getOrCreateMultiMapWrapper(Data dataKey)
public MultiMapWrapper getMultiMapWrapperOrNull(Data dataKey)
public ConcurrentMap<Data,MultiMapWrapper> getMultiMapWrappers()
public MultiMapConfig getConfig()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.