@Override
  public OutStore openWrite(long address, int size)
  {
    if (_isClosed.get()) {
      throw new IllegalStateException(L.l("{0} is closed.", this));
    }
    
    if (size <= 0) {
      throw new IllegalArgumentException(L.l("Invalid size: {0}", size));
    }

    try {
      streamOpen(address, size);
      
      return openWriteImpl(address, size);
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
@ Override public OutStore openWrite ( long address , int size ) { if ( _isClosed . get ( ) ) { throw new IllegalStateException ( L . l ( "{0} is closed." , this ) ) ; } if ( size <= 0 ) { throw new IllegalArgumentException ( L . l ( "Invalid size: {0}" , size ) ) ; } try { streamOpen ( address , size ) ; return openWriteImpl ( address , size ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
Opens the underlying file to the database.