use of com.hazelcast.scheduledexecutor.impl.operations.DisposeTaskOperation in project hazelcast by hazelcast.
the class ScheduledFutureProxy method dispose.
@Override
public void dispose() {
checkAccessibleHandler();
checkAccessibleOwner();
unRegisterPartitionListenerIfExists();
unRegisterMembershipListenerIfExists();
Operation op = new DisposeTaskOperation(handler);
InternalCompletableFuture future = invoke(op);
handler = null;
future.join();
}
Aggregations