public class ListContainer extends CollectionContainer
itemMap, logger, name, nodeEngine, txMap
Constructor and Description |
---|
ListContainer() |
ListContainer(String name,
NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
protected CollectionItem |
add(int index,
Data value) |
protected Map<Long,Data> |
addAll(int index,
List<Data> valueList) |
protected CollectionItem |
get(int index) |
List<CollectionItem> |
getCollection() |
ListConfig |
getConfig() |
protected Map<Long,CollectionItem> |
getMap() |
protected int |
indexOf(boolean last,
Data value) |
protected void |
onDestroy() |
protected CollectionItem |
remove(int index) |
protected CollectionItem |
set(int index,
long itemId,
Data value) |
protected void |
setBackup(long oldItemId,
long itemId,
Data value) |
protected List<Data> |
sub(int from,
int to) |
add, addAll, addAllBackup, addBackup, clear, clearBackup, commitAdd, commitAddBackup, commitRemove, commitRemoveBackup, compareAndRemove, contains, destroy, ensureReserve, getAll, hasEnoughCapacity, init, nextId, readData, remove, removeBackup, reserveAdd, reserveAddBackup, reserveRemove, reserveRemoveBackup, rollbackAdd, rollbackAddBackup, rollbackRemove, rollbackRemoveBackup, rollbackTransaction, size, writeData
public ListContainer()
public ListContainer(String name, NodeEngine nodeEngine)
public ListConfig getConfig()
getConfig
in class CollectionContainer
protected CollectionItem add(int index, Data value)
protected CollectionItem get(int index)
protected CollectionItem set(int index, long itemId, Data value)
protected void setBackup(long oldItemId, long itemId, Data value)
protected CollectionItem remove(int index)
protected int indexOf(boolean last, Data value)
public List<CollectionItem> getCollection()
getCollection
in class CollectionContainer
protected Map<Long,CollectionItem> getMap()
getMap
in class CollectionContainer
protected void onDestroy()
onDestroy
in class CollectionContainer
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.