public interface HGPersistentHandle extends HGHandle, Serializable, Comparable<HGPersistentHandle>
A HGPersistentHandle is a HGHandle that survives system
downtime. That is, a permanent handle will be valid between startup and shutdown of a
HyperGraph based application.
A concrete implementation is guaranteed to be a compact, serialiazable Java object that can be stored by the application using some other means and reused to refer to the same atom in subsequent runs of the same HyperGraph instance, or within a distributed environment.
Generally, plain HGHandle implementation are designed for fast, in-memory
access whereas HGPersistentHandle are designed as a persistent, long-term reference.
HGHandleFactory| Modifier and Type | Method and Description |
|---|---|
byte[] |
toByteArray()
Return a
byte[] representation of the handle. |
getPersistentcompareToCopyright © 2015. All rights reserved.