@Override
    public void close() {
        if (this.closed.compareAndSet(false, true)) {
            Futures.await(Services.stopAsync(this, this.executor));
            this.storage.close();
            log.info("Closed.");
        }
    }
@ Override public void close ( ) { if ( this . closed . compareAndSet ( false , true ) ) { Futures . await ( Services . stopAsync ( this , this . executor ) ) ; this . storage . close ( ) ; log . info ( "Closed." ) ; } }
region AutoCloseable Implementation