Uses of Interface
org.apache.bookkeeper.versioning.Version
-
Packages that use Version Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.discover Classes related to service discovery.org.apache.bookkeeper.meta Classes for interacting with bookkeeper ledgers and ledger metadata.org.apache.bookkeeper.metastore MetaStore-related classes.org.apache.bookkeeper.versioning a versioning library provides an abstraction over versioned data. -
-
Uses of Version in org.apache.bookkeeper.bookie
Methods in org.apache.bookkeeper.bookie with parameters of type Version Modifier and Type Method Description void
Cookie. deleteFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)
Deletes cookie from registration manager.void
Cookie. deleteFromRegistrationManager(RegistrationManager rm, BookieId address, Version version)
Delete cookie from registration manager.void
Cookie. writeToRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)
Writes cookie details to registration manager. -
Uses of Version in org.apache.bookkeeper.discover
Methods in org.apache.bookkeeper.discover with parameters of type Version Modifier and Type Method Description void
RegistrationManager. removeCookie(BookieId bookieId, Version version)
Remove the cookie data.void
ZKRegistrationManager. removeCookie(BookieId bookieId, Version version)
-
Uses of Version in org.apache.bookkeeper.meta
Methods in org.apache.bookkeeper.meta with parameters of type Version Modifier and Type Method Description void
NullMetadataBookieDriver.NullRegistrationManager. removeCookie(BookieId bookieId, Version version)
java.util.concurrent.CompletableFuture<java.lang.Void>
AbstractZkLedgerManager. removeLedgerMetadata(long ledgerId, Version version)
java.util.concurrent.CompletableFuture<java.lang.Void>
CleanupLedgerManager. removeLedgerMetadata(long ledgerId, Version version)
java.util.concurrent.CompletableFuture<java.lang.Void>
LedgerManager. removeLedgerMetadata(long ledgerId, Version version)
Remove a specified ledger metadata by ledgerId and version.java.util.concurrent.CompletableFuture<java.lang.Void>
MSLedgerManagerFactory.MsLedgerManager. removeLedgerMetadata(long ledgerId, Version version)
java.util.concurrent.CompletableFuture<java.lang.Void>
NullMetadataBookieDriver.NullLedgerManager. removeLedgerMetadata(long ledgerId, Version version)
java.util.concurrent.CompletableFuture<Versioned<LedgerMetadata>>
AbstractZkLedgerManager. writeLedgerMetadata(long ledgerId, LedgerMetadata metadata, Version currentVersion)
java.util.concurrent.CompletableFuture<Versioned<LedgerMetadata>>
CleanupLedgerManager. writeLedgerMetadata(long ledgerId, LedgerMetadata metadata, Version currentVersion)
java.util.concurrent.CompletableFuture<Versioned<LedgerMetadata>>
LedgerManager. writeLedgerMetadata(long ledgerId, LedgerMetadata metadata, Version currentVersion)
Write ledger metadata.java.util.concurrent.CompletableFuture<Versioned<LedgerMetadata>>
MSLedgerManagerFactory.MsLedgerManager. writeLedgerMetadata(long ledgerId, LedgerMetadata metadata, Version currentVersion)
java.util.concurrent.CompletableFuture<Versioned<LedgerMetadata>>
NullMetadataBookieDriver.NullLedgerManager. writeLedgerMetadata(long ledgerId, LedgerMetadata metadata, Version currentVersion)
-
Uses of Version in org.apache.bookkeeper.metastore
Classes in org.apache.bookkeeper.metastore that implement Version Modifier and Type Class Description static class
InMemoryMetastoreTable.MetadataVersion
An implementation of the Version interface for metadata.Methods in org.apache.bookkeeper.metastore with parameters of type Version Modifier and Type Method Description (package private) static Versioned<Value>
InMemoryMetastoreTable. cloneValue(Value value, Version version, java.util.Set<java.lang.String> fields)
Version.Occurred
InMemoryMetastoreTable.MetadataVersion. compare(Version v)
void
InMemoryMetastoreTable. put(java.lang.String key, Value value, Version version, MetastoreCallback<Version> cb, java.lang.Object ctx)
void
MetastoreTable. put(java.lang.String key, Value value, Version version, MetastoreCallback<Version> cb, java.lang.Object ctx)
Update a key according to its version.void
InMemoryMetastoreTable. remove(java.lang.String key, Version version, MetastoreCallback<java.lang.Void> cb, java.lang.Object ctx)
void
MetastoreTable. remove(java.lang.String key, Version version, MetastoreCallback<java.lang.Void> cb, java.lang.Object ctx)
Remove a key by its version.Method parameters in org.apache.bookkeeper.metastore with type arguments of type Version Modifier and Type Method Description void
InMemoryMetastoreTable. put(java.lang.String key, Value value, Version version, MetastoreCallback<Version> cb, java.lang.Object ctx)
void
MetastoreTable. put(java.lang.String key, Value value, Version version, MetastoreCallback<Version> cb, java.lang.Object ctx)
Update a key according to its version. -
Uses of Version in org.apache.bookkeeper.versioning
Classes in org.apache.bookkeeper.versioning that implement Version Modifier and Type Class Description class
LongVersion
A version object holds integer version.Fields in org.apache.bookkeeper.versioning declared as Version Modifier and Type Field Description static Version
Version. ANY
Match any version.static Version
Version. NEW
Initial version.(package private) Version
Versioned. version
Methods in org.apache.bookkeeper.versioning that return Version Modifier and Type Method Description Version
Versioned. getVersion()
Methods in org.apache.bookkeeper.versioning with parameters of type Version Modifier and Type Method Description Version.Occurred
LongVersion. compare(Version v)
Version.Occurred
Version. compare(Version v)
void
Versioned. setVersion(Version version)
Constructors in org.apache.bookkeeper.versioning with parameters of type Version Constructor Description Versioned(T value, Version version)
-