public class DebugGraphPrinter extends Object implements PersistenceFunction
| Constructor and Description |
|---|
DebugGraphPrinter(PersistenceObjectManager<?> objectManager,
PersistenceTypeHandlerManager<?> typeManager) |
DebugGraphPrinter(PersistenceObjectManager<?> objectManager,
PersistenceTypeHandlerManager<?> typeManager,
int hashRange) |
| Modifier and Type | Method and Description |
|---|---|
<T> long |
apply(T instance)
Applies 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.
|
long |
register(Object instance) |
public DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager)
public DebugGraphPrinter(PersistenceObjectManager<?> objectManager, PersistenceTypeHandlerManager<?> typeManager, int hashRange)
public <T> long apply(T instance)
PersistenceFunctionapply in interface PersistenceFunctionT - the instance's typeinstance - the instance to which the function shall be applied.public long register(Object instance)
Copyright © 2022 MicroStream Software. All rights reserved.