public interface BlobHandleGenerator
long. BlobHandleGenerator defines a sequences of blob handles for newly created blobs.
Any inheritor of BlobVault should implement nextHandle(Transaction).BlobVault,
PersistentEntityStore| Modifier and Type | Field and Description |
|---|---|
static BlobHandleGenerator |
IMMUTABLE
BlobHandleGenerator for immutable BlobVaults.
|
| Modifier and Type | Method and Description |
|---|---|
long |
nextHandle(@NotNull Transaction txn)
Generates next unique blob handle.
|
static final BlobHandleGenerator IMMUTABLE
long nextHandle(@NotNull
@NotNull Transaction txn)
txn - current transaction