Toggle navigation
Home
java.util.concurrent.ScheduledFuture<?> to io.atomix.utils.concurrent.Scheduled
No. of Instances - 4
No. of Commits - 2
No. of Projects - {'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
threadPoolExecutor.schedule(() -> { if (open.get()) { keepAliveSessions(lastKeepAliveTime,timeout); } } ,Math.max(Math.max((long)(timeout * TIMEOUT_FACTOR) - delta,timeout - MIN_TIMEOUT_DELTA - delta),0),TimeUnit.MILLISECONDS)
to
threadContext.schedule(Duration.ofMillis(Math.max(Math.max((long)(timeout * TIMEOUT_FACTOR) - delta,timeout - MIN_TIMEOUT_DELTA - delta),0)),() -> { if (open.get()) { keepAliveSessions(lastKeepAliveTime,timeout); } } )
keepAliveFuture.cancel(false)
to
keepAliveFuture.cancel()
scheduledExecutor
to
getProxyClient().getPartition(name()).context()
TimeUnit.MILLISECONDS
to
name()
Cascading Type Change (Similar)
ScheduledFuture<?>
to
Scheduled
Update argument list (Method invocation)
cancel
to
cancel
Rename Variable
scheduledFuture
to
scheduled