public class BootstrapAdapter extends Object
Constructor and Description |
---|
BootstrapAdapter(Bootstrap bootstrap)
Create a new
BootstrapAdapter . |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
connect()
Connect the underlying
Bootstrap and return a ChannelFuture . |
BootstrapAdapter |
remoteAddress(String hostname,
int port) |
public BootstrapAdapter(Bootstrap bootstrap)
BootstrapAdapter
.bootstrap
- the wrapped bootstrap.public ChannelFuture connect()
Bootstrap
and return a ChannelFuture
.public BootstrapAdapter remoteAddress(String hostname, int port)
Copyright © 2021 Couchbase, Inc.. All rights reserved.