Class ComponentId
java.lang.Object
org.apache.jena.dboe.transaction.txn.ComponentId
A
ComponentId consists of two parts: a globally unique context
(roughly - the domain where the ComponentId is valid)
and an id within the context.
Context is often a single coordinator but can be, for example,
a distributed transaction coordinator.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentIdGiven a base componentId, create a derived (different) one.static ComponentIdReturn a fresh ComponentId (not preserved across JVM runs)static ComponentIdCreate a ComponentId from the given bytesbooleanbyte[]getBytes()inthashCode()label()toString()
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
-
Method Details
-
getBytes
public byte[] getBytes() -
getBaseId
-
label
-
toString
-
hashCode
public int hashCode() -
equals
-
create
Create a ComponentId from the given bytes -
alloc
Given a base componentId, create a derived (different) one. This is deterministically done based on baseComponentId and index. The label is just for display purposes. -
allocLocal
Return a fresh ComponentId (not preserved across JVM runs)
-