@Override public void onShutdown(ClientContext context) { ClientPutState s; synchronized(this) { s = currentState; } if(s != null) s.onShutdown(context); }
@Override public void onShutdown(ClientContext context) { ClientPutState state; synchronized(this) { state = currentState; } if(state != null) state.onShutdown(context); } }
@Override public void onShutdown(ClientContext context) { ClientPutState splitfileInserter; ClientPutState metadataInserter; synchronized(this) { splitfileInserter = sfi; metadataInserter = metadataPutter; } if(splitfileInserter != null) splitfileInserter.onShutdown(context); if(metadataInserter != null) metadataInserter.onShutdown(context); }
@Override public void onShutdown(ClientContext context) { for(ClientPutState state : getWaitingFor()) { state.onShutdown(context); } }