use of com.hazelcast.scheduledexecutor.impl.operations.GetDelayOperation in project hazelcast by hazelcast.
the class ScheduledFutureProxy method getDelay.
@Override
public long getDelay(TimeUnit unit) {
checkNotNull(unit, "Unit is null");
checkAccessibleHandler();
checkAccessibleOwner();
Operation op = new GetDelayOperation(handler, unit);
return this.<Long>invoke(op).joinInternal();
}
Aggregations