class OffHeapByteBufferStore implements OffHeapStore {

  public Pointer update(final Pointer pointer, final byte[] payload, final long expiry) {
    try {
      return pointer.getOffHeapByteBuffer().update(pointer, payload, expiry);
    } catch (final BufferOverflowException exception) {
      return store(payload, expiry);
    }
  }

  public  OffHeapByteBufferStore(int capacity, int bufferSize);
  public  OffHeapByteBufferStore(int capacity, int bufferSize, int concurrencyLevel);

}