com.hazelcast.collection.list
Class ListContainer
java.lang.Object
com.hazelcast.collection.CollectionContainer
com.hazelcast.collection.list.ListContainer
- All Implemented Interfaces:
- DataSerializable
public class ListContainer
- extends CollectionContainer
Method Summary |
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)
|
Methods inherited from class com.hazelcast.collection.CollectionContainer |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListContainer
public ListContainer()
ListContainer
public ListContainer(String name,
NodeEngine nodeEngine)
getConfig
public ListConfig getConfig()
- Specified by:
getConfig
in class CollectionContainer
add
protected CollectionItem add(int index,
Data value)
get
protected CollectionItem get(int index)
set
protected CollectionItem set(int index,
long itemId,
Data value)
setBackup
protected void setBackup(long oldItemId,
long itemId,
Data value)
remove
protected CollectionItem remove(int index)
indexOf
protected int indexOf(boolean last,
Data value)
addAll
protected Map<Long,Data> addAll(int index,
List<Data> valueList)
sub
protected List<Data> sub(int from,
int to)
getCollection
public List<CollectionItem> getCollection()
- Specified by:
getCollection
in class CollectionContainer
getMap
protected Map<Long,CollectionItem> getMap()
- Specified by:
getMap
in class CollectionContainer
onDestroy
protected void onDestroy()
- Specified by:
onDestroy
in class CollectionContainer
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.