Package com.couchbase.client.dcp
Interface ConnectionNameGenerator
- All Known Implementing Classes:
DefaultConnectionNameGenerator
public interface ConnectionNameGenerator
A generic interface which determines the name for a DCP connection.
Adhering to the semantics of DCP, it is very important that the names of the connection, if independent
also need to be different. Otherwise the server will inevitably close the old connection, leading
to weird edge cases. Keep this in mind when implementing the interface or just stick with the
default DefaultConnectionNameGenerator
.
- Since:
- 1.0.0
- Author:
- Michael Nitschinger
-
Field Summary
Fields -
Method Summary