RSocketConnector or an RSocketServer except for retry(Retry) and token(Supplier) which apply only to the client side.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final Logger | |
| private Retry | |
| private Duration | |
| private Function | |
| private Duration | |
| private Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Resume | Returns: the same instance for method chainingWhen this property is enabled, hints from |
| pack-priv Retry | |
| pack-priv Duration | |
| pack-priv Function | |
| pack-priv Duration | |
| pack-priv Supplier | |
| pack-priv boolean | |
| public Resume | |
| public Resume | Returns: the same instance for method chainingthe max duration for a session sessionDuration)The maximum time for a client to keep trying to reconnect. |
| public Resume | Returns: the same instance for method chainingthe factory to use to create the store storeFactory)Configure a factory to create the storage for buffering (or persisting) a window of frames that may need to be sent again to resume after a dropped connection. |
| public Resume | Returns: the same instance for method chainingthe timeout value for resuming a session stream streamTimeout)A |
| public Resume |
| cleanupStoreOnKeepAlive | back to summary |
|---|---|
| private boolean cleanupStoreOnKeepAlive | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| retry | back to summary |
|---|---|
| private Retry retry | |
| sessionDuration | back to summary |
|---|---|
| private Duration sessionDuration | |
| storeFactory | back to summary |
|---|---|
| private Function<? super ByteBuf, ? extends ResumableFramesStore> storeFactory | |
| streamTimeout | back to summary |
|---|---|
| private Duration streamTimeout | |
| tokenSupplier | back to summary |
|---|---|
| private Supplier<ByteBuf> tokenSupplier | |
| Resume | back to summary |
|---|---|
| public Resume() | |
| cleanupStoreOnKeepAlive | back to summary |
|---|---|
| public Resume cleanupStoreOnKeepAlive() When this property is enabled, hints from By default this is set to
| |
| getRetry | back to summary |
|---|---|
| pack-priv Retry getRetry() | |
| getSessionDuration | back to summary |
|---|---|
| pack-priv Duration getSessionDuration() | |
| getStoreFactory | back to summary |
|---|---|
| pack-priv Function | |
| getStreamTimeout | back to summary |
|---|---|
| pack-priv Duration getStreamTimeout() | |
| getTokenSupplier | back to summary |
|---|---|
| pack-priv Supplier | |
| isCleanupStoreOnKeepAlive | back to summary |
|---|---|
| pack-priv boolean isCleanupStoreOnKeepAlive() | |
| retry | back to summary |
|---|---|
| public Resume retry(Retry retry) Configure the logic for reconnecting. This setting is for use with By default this is set to:
| |
| sessionDuration | back to summary |
|---|---|
| public Resume sessionDuration(Duration sessionDuration) The maximum time for a client to keep trying to reconnect. During this time client and server continue to store unsent frames to keep the session warm and ready to resume. By default this is set to 2 minutes. | |
| storeFactory | back to summary |
|---|---|
| public Resume storeFactory(Function<? super ByteBuf, ? extends ResumableFramesStore> storeFactory) Configure a factory to create the storage for buffering (or persisting) a window of frames that may need to be sent again to resume after a dropped connection. By default
| |
| streamTimeout | back to summary |
|---|---|
| public Resume streamTimeout(Duration streamTimeout) A By default this is set to 10 seconds. | |
| token | back to summary |
|---|---|
| public Resume token(Supplier<ByteBuf> supplier) Customize the generation of the resume identification token used to resume. This setting is for
use with By default this is | |