use of com.hazelcast.spi.impl.SerializableList in project hazelcast by hazelcast.
the class CollectionGetAllOperation method run.
@Override
public void run() throws Exception {
CollectionContainer collectionContainer = getOrCreateContainer();
List<Data> all = collectionContainer.getAll();
response = new SerializableList(all);
}
use of com.hazelcast.spi.impl.SerializableList in project hazelcast by hazelcast.
the class ListSubOperation method run.
@Override
public void run() throws Exception {
ListContainer listContainer = getOrCreateListContainer();
List<Data> sub = listContainer.sub(from, to);
response = new SerializableList(sub);
}
use of com.hazelcast.spi.impl.SerializableList in project hazelcast by hazelcast.
the class QueueProxySupport method drainInternal.
Collection<Data> drainInternal(int maxSize) {
DrainOperation operation = new DrainOperation(name, maxSize);
SerializableList collectionContainer = invokeAndGet(operation);
return collectionContainer.getCollection();
}
use of com.hazelcast.spi.impl.SerializableList in project hazelcast by hazelcast.
the class IteratorOperation method run.
@Override
public void run() {
QueueContainer queueContainer = getContainer();
List<Data> dataList = queueContainer.getAsDataList();
response = new SerializableList(dataList);
}
Aggregations