public interface PreJoinAwareService
PostJoinAwareService.getPostJoinOperation()
s which are executed on the joining member after it is set as joined.
The practical outcome is that pre-join operations are already executed before the HazelcastInstance
is returned to the caller, while post-join operations may be still executing.Modifier and Type | Method and Description |
---|---|
Operation |
getPreJoinOperation()
An operation to be executed on the joining member before it is set as joined.
|
Operation getPreJoinOperation()
PostJoinAwareService.getPostJoinOperation()
s, no partition locks, no key-based locks, no service level
locks, no database interaction are allowed. Additionally, a pre-join operation is executed while the cluster
lock is being held on the joining member, so it is important that the operation finishes quickly and does not
interact with other locks.
The Operation.getPartitionId()
method should return a negative value.
This means that the operations should not implement PartitionAwareOperation
.
Pre join operations should return response, which may also be a null
response.
null
.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.