public Executor getExecutor () { // we don't cache the executor since it might change on the connection return this.connection.getExecutor (); }
@Override public ScheduledExecutorService getExecutor () { return this.connection.getExecutor (); }
public Executor getExecutor () { // we don't cache the executor since it might change on the connection return this.connection.getExecutor (); }
@Override public ScheduledExecutorService getExecutor () { return this.connection.getExecutor (); }
private void disconnectAllFolders () { synchronized ( this.folderListeners ) { for ( final Map.Entry<Location, FolderSyncController> entry : this.folderListeners.entrySet () ) { this.connection.getExecutor ().execute ( new Runnable () { @Override public void run () { entry.getValue ().disconnected (); } } ); } } }
private void disconnectAllFolders () { synchronized ( this.folderListeners ) { for ( final Map.Entry<Location, FolderSyncController> entry : this.folderListeners.entrySet () ) { this.connection.getExecutor ().execute ( new Runnable () { @Override public void run () { entry.getValue ().disconnected (); } } ); } } }
this.connection.getExecutor ().schedule ( this.performConnectionCheck, this.lingeringTimeout, TimeUnit.MILLISECONDS );
this.connection.getExecutor ().schedule ( this.performConnectionCheck, this.lingeringTimeout, TimeUnit.MILLISECONDS );