Class DebugGraphPrinter
java.lang.Object
one.microstream.persistence.internal.DebugGraphPrinter
- All Implemented Interfaces:
 PersistenceFunction
public class DebugGraphPrinter extends Object implements PersistenceFunction
- 
Constructor Summary
Constructors Constructor Description DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager)DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager, int hashRange) - 
Method Summary
 
- 
Constructor Details
- 
DebugGraphPrinter
public DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager) - 
DebugGraphPrinter
public DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager, int hashRange) 
 - 
 - 
Method Details
- 
apply
public <T> long apply(T instance)Description copied from interface:PersistenceFunctionApplies any action on the passed instance (e.g.: simply looking up its object ID or storing its state to a storage medium) and returns the object ID that identifies the passed instance. The returned OID may be the existing one for the passed instance or a newly associated one.- Specified by:
 applyin interfacePersistenceFunction- Parameters:
 instance- the instance to which the function shall be applied.- Returns:
 - the object ID (OID) that is associated with the passed instance.
 
 - 
register
 
 -