Uses of Class
com.loomcache.common.protocol.LoomVersion
Packages that use LoomVersion
Package
Description
-
Uses of LoomVersion in com.loomcache.client
Methods in com.loomcache.client that return LoomVersionModifier and TypeMethodDescriptionProtocolHandshake.Result.peerVersion()Returns the value of thepeerVersionrecord component.Constructors in com.loomcache.client with parameters of type LoomVersionModifierConstructorDescriptionResult(LoomVersion peerVersion, int negotiatedProtocolVersion, long peerFeatureBitmap) Creates an instance of aResultrecord class. -
Uses of LoomVersion in com.loomcache.common.model
Methods in com.loomcache.common.model that return LoomVersionModifier and TypeMethodDescriptionClusterState.changeClusterVersion(LoomVersion newVersion) Change the cluster version and return the previous version.ClusterState.clusterVersion()Return the cluster protocol/version gate used for rolling-upgrade ceremonies.Methods in com.loomcache.common.model with parameters of type LoomVersionModifier and TypeMethodDescriptionClusterState.changeClusterVersion(LoomVersion newVersion) Change the cluster version and return the previous version. -
Uses of LoomVersion in com.loomcache.common.protocol
Classes in com.loomcache.common.protocol that implement interfaces with type arguments of type LoomVersionModifier and TypeClassDescriptionfinal classVersion information for LoomCache nodes.Methods in com.loomcache.common.protocol that return LoomVersionModifier and TypeMethodDescriptionstatic LoomVersionLoomVersion.current()Create a LoomVersion from the current build version.@Nullable LoomVersionVersionCompatibilityManager.getPeerVersion(String peerId) Get the registered version for a peer.Feature.introducedIn()Get the version in which this feature was introduced.VersionCompatibilityManager.localVersion()Get the local node's version.static LoomVersionLoomVersion.minCompatible()Create a LoomVersion from minimum compatible version.HelloPayload.minCompatibleVersion()Returns the value of theminCompatibleVersionrecord component.VersionedMessageAdapter.negotiatedVersion()Get the negotiated version for this connection.HelloPayload.version()Returns the value of theversionrecord component.Methods in com.loomcache.common.protocol that return types with arguments of type LoomVersionModifier and TypeMethodDescriptionVersionCompatibilityManager.allPeerVersions()Get all registered peer versions.Methods in com.loomcache.common.protocol with parameters of type LoomVersionModifier and TypeMethodDescriptionintLoomVersion.compareTo(LoomVersion other) Comparator based on semantic versioning: major, then minor, then patch.VersionCompatibilityManager.getCompatibleFeatures(LoomVersion negotiatedVersion) Get features available given a negotiated version.booleanVersionCompatibilityManager.hasFeature(LoomVersion version, Feature feature) Check if a feature is available for a given version.booleanVersionCompatibilityManager.isCompatible(LoomVersion remoteVersion) Check if a remote version is compatible with the local version.booleanLoomVersion.isCompatibleWith(LoomVersion other) Check if this version is compatible with another version.voidProtocolNegotiator.performHandshake(LoomVersion remoteVersion, int remoteProtocolVersion) Perform version handshake with a remote peer.voidProtocolNegotiator.performHandshake(LoomVersion remoteVersion, LoomVersion remoteMinCompatibleVersion, int remoteProtocolVersion) Perform version handshake with a remote peer using the peer's advertised minimum compatible version.voidVersionCompatibilityManager.registerPeerVersion(String peerId, LoomVersion version) Register a peer's version after successful handshake.Constructors in com.loomcache.common.protocol with parameters of type LoomVersionModifierConstructorDescriptionHelloPayload(LoomVersion version, LoomVersion minCompatibleVersion, int protocolVersion, long featureBitmap) Creates an instance of aHelloPayloadrecord class.ProtocolNegotiator(LoomVersion localVersion, int localProtocolVersion) Create a protocol negotiator.VersionCompatibilityManager(LoomVersion localVersion) Create a version compatibility manager.VersionedMessageAdapter(VersionCompatibilityManager compatibilityManager, LoomVersion negotiatedVersion, @Nullable String peerId) Create a versioned message adapter. -
Uses of LoomVersion in com.loomcache.server
Methods in com.loomcache.server that return LoomVersionModifier and TypeMethodDescriptionCacheNode.changeClusterVersion(LoomVersion newVersion) Change the cluster version gate and return the previous version.CacheNode.getClusterVersion()Return the cluster version gate for rolling-upgrade operations.Methods in com.loomcache.server with parameters of type LoomVersionModifier and TypeMethodDescriptionCacheNode.changeClusterVersion(LoomVersion newVersion) Change the cluster version gate and return the previous version.