Package com.couchbase.client.core.config
Class TopologyChangeNotificationBuffer
java.lang.Object
com.couchbase.client.core.config.TopologyChangeNotificationBuffer
"Squashes" notifications, retaining only the highest revision for each bucket (plus global).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanputIfNewer(@Nullable String bucketName, TopologyRevision revision) Returns true if the given revision was added to the buffer, or false if it was not newer than the existing entry.@Nullable TopologyRevisiontoString()
-
Constructor Details
-
TopologyChangeNotificationBuffer
public TopologyChangeNotificationBuffer()
-
-
Method Details