public interface ConnectionNameGenerator
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.
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Generate the name for a DCP Connection.
|
String name()
The name must be no longer than 200 bytes when converted to UTF-8.
Copyright © 2021 Couchbase, Inc.. All rights reserved.