| Package | Description |
|---|---|
| com.couchbase.client.core.cnc.events.io | |
| com.couchbase.client.core.io.netty |
| Modifier and Type | Method and Description |
|---|---|
ChannelClosedProactivelyEvent.Reason |
ChannelClosedProactivelyEvent.reason() |
static ChannelClosedProactivelyEvent.Reason |
ChannelClosedProactivelyEvent.Reason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelClosedProactivelyEvent.Reason[] |
ChannelClosedProactivelyEvent.Reason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ChannelClosedProactivelyEvent(IoContext context,
ChannelClosedProactivelyEvent.Reason reason) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HandlerUtils.closeChannelWithReason(IoContext ioContext,
com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerContext ctx,
ChannelClosedProactivelyEvent.Reason reason)
Proactively close this channel with the given reason.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.