@Override
  public WriteLockedOffHeapHashMap<K, V> newInstance() {
    StorageEngine<? super K, ? super V> storageEngine = storageEngineFactory.newInstance();
    try {
      return new WriteLockedOffHeapHashMap<>(tableSource, storageEngine, tableSize);
    } catch (RuntimeException e) {
      storageEngine.destroy();
      throw e;
    }
  }
@ Override public WriteLockedOffHeapHashMap < K , V > newInstance ( ) { StorageEngine < ? super K , ? super V > storageEngine = storageEngineFactory . newInstance ( ) ; try { return new WriteLockedOffHeapHashMap < > ( tableSource , storageEngine , tableSize ) ; } catch ( RuntimeException e ) { storageEngine . destroy ( ) ; throw e ; } }
Creates a new {@code WriteLockedOffHeapHashMap} for use in a
segmented map.

@return a new {@code WriteLockedOffHeapHashMap}