Package net.handle.hdllib
Interface HandleStorage2
-
- All Superinterfaces:
HandleStorage
@Deprecated public interface HandleStorage2 extends HandleStorage
Deprecated.can just use HandleStorage with default methods
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
scanHandlesFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback)
Deprecated.Scan the database, calling a method in the specified callback for every handle in the database.void
scanNAsFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback)
Deprecated.Scan the homed prefix database, calling a method in the specified callback for every prefix in the database.default boolean
supportsDumpResumption()
Deprecated.Returns true ifHandleStorage.scanHandlesFrom(byte[], boolean, ScanCallback)
andHandleStorage.scanNAsFrom(byte[], boolean, ScanCallback)
are implemented; otherwise false.-
Methods inherited from interface net.handle.hdllib.HandleStorage
checkpointDatabase, createHandle, createOrUpdateRecord, deleteAllRecords, deleteHandle, exists, getHandlesForNA, getRawHandleValues, haveNA, init, scanHandles, scanNAs, setHaveNA, shutdown, updateValue
-
-
-
-
Method Detail
-
supportsDumpResumption
default boolean supportsDumpResumption()
Deprecated.Description copied from interface:HandleStorage
Returns true ifHandleStorage.scanHandlesFrom(byte[], boolean, ScanCallback)
andHandleStorage.scanNAsFrom(byte[], boolean, ScanCallback)
are implemented; otherwise false.- Specified by:
supportsDumpResumption
in interfaceHandleStorage
-
scanHandlesFrom
void scanHandlesFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback) throws HandleException
Deprecated.Scan the database, calling a method in the specified callback for every handle in the database.- Specified by:
scanHandlesFrom
in interfaceHandleStorage
- Throws:
HandleException
-
scanNAsFrom
void scanNAsFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback) throws HandleException
Deprecated.Scan the homed prefix database, calling a method in the specified callback for every prefix in the database.- Specified by:
scanNAsFrom
in interfaceHandleStorage
- Throws:
HandleException
-
-