public class SetService extends CollectionService
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
nodeEngine
Constructor and Description |
---|
SetService(NodeEngine nodeEngine) |
Modifier and Type | Method and Description |
---|---|
DistributedObject |
createDistributedObject(String objectId)
Creates a distributed object.
|
TransactionalSetProxy |
createTransactionalObject(String name,
Transaction transaction) |
Map<String,? extends CollectionContainer> |
getContainerMap() |
SetContainer |
getOrCreateContainer(String name,
boolean backup) |
String |
getServiceName() |
Operation |
prepareReplicationOperation(PartitionReplicationEvent event) |
addContainer, beforeMigration, clearPartitionReplica, commitMigration, destroyDistributedObject, dispatchEvent, getMigrationData, init, reset, rollbackMigration, rollbackTransaction, shutdown
public static final String SERVICE_NAME
public SetService(NodeEngine nodeEngine)
public SetContainer getOrCreateContainer(String name, boolean backup)
getOrCreateContainer
in class CollectionService
public Map<String,? extends CollectionContainer> getContainerMap()
getContainerMap
in class CollectionService
public String getServiceName()
getServiceName
in class CollectionService
public DistributedObject createDistributedObject(String objectId)
RemoteService
objectId
- the name for the created distributed objectpublic TransactionalSetProxy createTransactionalObject(String name, Transaction transaction)
public Operation prepareReplicationOperation(PartitionReplicationEvent event)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.