client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java
public void endRequest(final OChannelBinaryAsynchClient iNetwork) throws IOException {
    if (iNetwork == null)
      return;

    iNetwork.flush();
    iNetwork.releaseWriteLock();

  }
public void endRequest(final OChannelBinaryAsynchClient iNetwork) throws IOException {
    if (iNetwork == null)
      return;

    iNetwork.flush();
    iNetwork.releaseWriteLock();

  }
public void endRequest ( final OChannelBinaryAsynchClient iNetwork ) throws IOException { if ( iNetwork == null ) return ; iNetwork . flush ( ) ; iNetwork . releaseWriteLock ( ) ; }
Ends the request and unlock the write lock
Ends the request and unlock the write lock