Interface IBmPersistentStoreReaderCallback<T>

Type Parameters:
T - the result type.

public interface IBmPersistentStoreReaderCallback<T>
  • Method Details

    • execute

      T execute(byte[] data, int offset, int length)
      Method invoked by IBmPersistentLongStore.read(long, IBmPersistentStoreReaderCallback) and IBmPersistentStringStore#read(long, IBmPersistentStoreReaderCallback) methods.
      Parameters:
      data - A byte array containing the read data. May not be null.
      offset - The offset of the read data within the array.
      length - The length of the read data.
      Returns:
      a result object or null if none.