net.handle.hdllib
Interface HandleStorage2

All Superinterfaces:
HandleStorage

public interface HandleStorage2
extends HandleStorage


Method Summary
 void scanHandlesFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback)
          Scan the database, calling a method in the specified callback for every handle in the database.
 void scanNAsFrom(byte[] startingPoint, boolean inclusive, ScanCallback callback)
          Scan the homed prefix database, calling a method in the specified callback for every prefix in the database.
 
Methods inherited from interface net.handle.hdllib.HandleStorage
checkpointDatabase, createHandle, deleteAllRecords, deleteHandle, getHandlesForNA, getRawHandleValues, haveNA, init, scanHandles, scanNAs, setHaveNA, shutdown, updateValue
 

Method Detail

scanHandlesFrom

void scanHandlesFrom(byte[] startingPoint,
                     boolean inclusive,
                     ScanCallback callback)
                     throws HandleException
Scan the database, calling a method in the specified callback for every handle in the database.

Throws:
HandleException

scanNAsFrom

void scanNAsFrom(byte[] startingPoint,
                 boolean inclusive,
                 ScanCallback callback)
                 throws HandleException
Scan the homed prefix database, calling a method in the specified callback for every prefix in the database.

Throws:
HandleException