public interface DataServer extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination()
Waits for server to terminate.
|
SocketAddress |
getBindAddress()
Gets the actual bind socket address.
|
SocketAddress |
getS3BindAddress()
Gets the actual bind socket address for S3.
|
boolean |
isClosed()
Checks if the
DataServer is closed. |
SocketAddress getBindAddress()
InetSocketAddress
or a
DomainSocketAddress
.SocketAddress getS3BindAddress()
InetSocketAddress
or a
DomainSocketAddress
.boolean isClosed()
DataServer
is closed.DataServer
is closed, false otherwisevoid awaitTermination()
Copyright © 2023. All Rights Reserved.