Toggle navigation
Home
io.netty.util.concurrent.ScheduledFuture<?> to io.netty.util.Timeout
No. of Instances - 11
No. of Commits - 1
No. of Projects - {'redisson'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: External -> External
Mapping:
Rename Variable
timeoutFuture
to
scheduledTimeout
timeoutFuture
to
scheduledTimeout
Cascading Type Change (Different)
Runnable
to
TimerTask
Add or Remove Method invocation
connectionManager.getGroup().schedule(new TimerTask(){ @Override public void run(){ if (orignalChannel == connection.getChannel() && connection.isActive()) { return; } canceledByScheduler.set(true); details.getAttemptPromise().trySuccess(null); } } ,popTimeout,TimeUnit.SECONDS)
to
connectionManager.newTimeout(new TimerTask(){ @Override public void run( Timeout timeout) throws Exception { if (orignalChannel == connection.getChannel() && connection.isActive()) { return; } canceledByScheduler.set(true); details.getAttemptPromise().trySuccess(null); } } ,popTimeout,TimeUnit.SECONDS)
Update argument list (Method invocation)
cancel
to
cancel