public interface RemoteService
Modifier and Type | Method and Description |
---|---|
default DistributedObject |
createDistributedObject(String objectName)
Creates a distributed object on the cluster.
|
DistributedObject |
createDistributedObject(String objectName,
boolean local)
Creates a distributed object on the local member only (when
local is
true ), else cluster-wide. |
default void |
destroyDistributedObject(String objectName)
Destroys a distributed object on the cluster.
|
void |
destroyDistributedObject(String objectName,
boolean local)
Destroys a distributed object.
|
DistributedObject createDistributedObject(String objectName, boolean local)
local
is
true
), else cluster-wide.objectName
- the name for the created distributed objectlocal
- when true
then only perform required proxy creation
actions on the local member, otherwise perform cluster-wide
proxy creation.void destroyDistributedObject(String objectName, boolean local)
objectName
- the name of the distributed object to destroydefault DistributedObject createDistributedObject(String objectName)
objectName
- the name for the created distributed objectdefault void destroyDistributedObject(String objectName)
objectName
- the name of the distributed object to destroyCopyright © 2019 Hazelcast, Inc.. All rights reserved.