Toggle navigation
Home
io.netty.util.concurrent.ScheduledFuture<?> to io.netty.util.Timeout
No. of Instances - 16
No. of Commits - 2
No. of Projects - {'redisson', 'java-driver'}
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