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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static PrivateMetadata
empty()
boolean
static PrivateMetadata.Builder
getBuilder
(PrivateMetadata metadata) Returns aPrivateMetadata.Builder
with the metadata stored bymetadata
.int
hashCode()
boolean
isEmpty()
toString()
-
Method Details
-
empty
- Returns:
- An empty instance of
PrivateMetadata
, i.e., without any metadata stored.
-
getBuilder
Returns aPrivateMetadata.Builder
with the metadata stored bymetadata
.If
metadata
isnull
, an emptyPrivateMetadata.Builder
instance is created.- Parameters:
metadata
- ThePrivateMetadata
to copy from.- Returns:
- The
PrivateMetadata.Builder
instance.
-
builder
- Returns:
- A
PrivateMetadata.Builder
pre-filled with the data stored in this instance.
-
iracMetadata
- Returns:
- The
IracMetadata
stored. It can benull
.
-
entryVersion
- Returns:
- The
IncrementableEntryVersion
associated with the entry.
-
isEmpty
public boolean isEmpty()- Returns:
true
if not metadata is stored in this instance.
-
toString
-
equals
-
hashCode
public int hashCode() -
getNumericVersion
-
getClusteredVersion
-