public interface TargetAware
Operationthat has to be aware of the remote target member address before being serialized and sent over the network can implement
TargetAwareinterface so the target
Addresswill be injected to it.
Address injection only happens when the
Operation is invoked using the invocation system.
TargetAware operation is explicitly sent to a remote target
or executed locally,
setTarget(Address) should be explicitly called
before the operation is sent or executed.
void setTarget(Address address)
setTargetwill be invoked on each retry with the current target member's
addressis provided as target address
address- target member's address
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.