use of com.hazelcast.multimap.impl.MultiMapContainer in project hazelcast by hazelcast.
the class ClearOperation method beforeRun.
@Override
public void beforeRun() throws Exception {
MultiMapContainer container = getOrCreateContainer();
shouldBackup = container.size() > 0;
}
use of com.hazelcast.multimap.impl.MultiMapContainer in project hazelcast by hazelcast.
the class SizeOperation method run.
@Override
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
response = container.size();
((MultiMapService) getService()).getLocalMultiMapStatsImpl(name).incrementOtherOperations();
}
use of com.hazelcast.multimap.impl.MultiMapContainer in project hazelcast by hazelcast.
the class ValuesOperation method run.
@Override
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
((MultiMapService) getService()).getLocalMultiMapStatsImpl(name).incrementOtherOperations();
response = new MultiMapResponse(container.values(), getValueCollectionType(container));
}
use of com.hazelcast.multimap.impl.MultiMapContainer in project hazelcast by hazelcast.
the class KeySetOperation method run.
@Override
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
((MultiMapService) getService()).getLocalMultiMapStatsImpl(name).incrementOtherOperations();
response = new MultiMapResponse(container.keySet(), getValueCollectionType(container));
}
use of com.hazelcast.multimap.impl.MultiMapContainer in project hazelcast by hazelcast.
the class RemoveAllOperation method run.
@Override
public void run() throws Exception {
MultiMapContainer container = getOrCreateContainer();
coll = remove(executedLocally());
response = new MultiMapResponse(coll, getValueCollectionType(container));
}
Aggregations