Package org.infinispan.metadata.impl
Class PrivateMetadata
java.lang.Object
org.infinispan.metadata.impl.PrivateMetadata
A class to store internal metadata.
This class should not be exposed to users.
- Since:
- 11.0
- Author:
- Pedro Ruivo
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static PrivateMetadataempty()booleanstatic PrivateMetadata.BuildergetBuilder(PrivateMetadata metadata) Returns aPrivateMetadata.Builderwith the metadata stored bymetadata.inthashCode()booleanisEmpty()toString()
-
Method Details
-
empty
- Returns:
- An empty instance of
PrivateMetadata, i.e., without any metadata stored.
-
getBuilder
Returns aPrivateMetadata.Builderwith the metadata stored bymetadata.If
metadataisnull, an emptyPrivateMetadata.Builderinstance is created.- Parameters:
metadata- ThePrivateMetadatato copy from.- Returns:
- The
PrivateMetadata.Builderinstance.
-
builder
- Returns:
- A
PrivateMetadata.Builderpre-filled with the data stored in this instance.
-
iracMetadata
- Returns:
- The
IracMetadatastored. It can benull.
-
entryVersion
- Returns:
- The
IncrementableEntryVersionassociated with the entry.
-
isEmpty
public boolean isEmpty()- Returns:
trueif not metadata is stored in this instance.
-
toString
-
equals
-
hashCode
public int hashCode() -
getNumericVersion
-
getClusteredVersion
-