public static class ConnectionDegradation.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionDegradation |
build() |
<T extends ISocket> |
registerConnectionType(Class<T> socketType,
Supplier<T> supplier,
Optional<Class<? extends ISocket>> fallbackType) |
<T extends ISocket> |
registerDefaultConnectionType(Class<T> socketType,
Supplier<T> supplier,
Optional<Class<? extends ISocket>> fallbackType) |
public <T extends ISocket> ConnectionDegradation.Builder registerDefaultConnectionType(Class<T> socketType, Supplier<T> supplier, Optional<Class<? extends ISocket>> fallbackType)
public <T extends ISocket> ConnectionDegradation.Builder registerConnectionType(Class<T> socketType, Supplier<T> supplier, Optional<Class<? extends ISocket>> fallbackType)
public ConnectionDegradation build()
Copyright © 2016. All rights reserved.