Package org.apache.bookkeeper.metastore
Class InMemoryMetastoreTable.MetadataVersion
- java.lang.Object
-
- org.apache.bookkeeper.metastore.InMemoryMetastoreTable.MetadataVersion
-
- All Implemented Interfaces:
Version
- Enclosing class:
- InMemoryMetastoreTable
public static class InMemoryMetastoreTable.MetadataVersion extends java.lang.Object implements Version
An implementation of the Version interface for metadata.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.bookkeeper.versioning.Version
Version.Occurred
-
-
Constructor Summary
Constructors Constructor Description MetadataVersion(int v)
MetadataVersion(InMemoryMetastoreTable.MetadataVersion v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version.Occurred
compare(Version v)
boolean
equals(java.lang.Object obj)
int
hashCode()
InMemoryMetastoreTable.MetadataVersion
incrementVersion()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MetadataVersion
public MetadataVersion(int v)
-
MetadataVersion
public MetadataVersion(InMemoryMetastoreTable.MetadataVersion v)
-
-
Method Detail
-
incrementVersion
public InMemoryMetastoreTable.MetadataVersion incrementVersion()
-
compare
public Version.Occurred compare(Version v)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-