com.apama.database
Event DBReconnectPolicy
An enumeration containing constants for the reconnection policy used when an adapter connection error occurs.
Constant Summary |
constant string | DO_NOT_RECONNECT := "DO_NOT_RECONNECT"
Do not try to reconnect. |
constant string | RECONNECT := "RECONNECT"
Try to reconnect and leave the management of pending requests to the client. The client can handle the pending requests in the error handler. |
constant string | RECONNECT_AND_CLEAR_REQUEST_QUEUE := "RECONNECT_AND_CLEAR_REQUEST_QUEUE"
Try to reconnect and remove all the pending requests. |
constant string | RECONNECT_AND_RETRY_LAST_REQUEST := "RECONNECT_AND_RETRY_LAST_REQUEST"
Try to reconnect and leave the pending requests unchanged. Retry the last request upon the successful database reconnection. |
DO_NOT_RECONNECT
constant string DO_NOT_RECONNECT := "DO_NOT_RECONNECT"
Do not try to reconnect.
RECONNECT
constant string RECONNECT := "RECONNECT"
Try to reconnect and leave the management of pending requests to the client. The client can handle the pending requests in the error handler.
RECONNECT_AND_CLEAR_REQUEST_QUEUE
constant string RECONNECT_AND_CLEAR_REQUEST_QUEUE := "RECONNECT_AND_CLEAR_REQUEST_QUEUE"
Try to reconnect and remove all the pending requests.
RECONNECT_AND_RETRY_LAST_REQUEST
constant string RECONNECT_AND_RETRY_LAST_REQUEST := "RECONNECT_AND_RETRY_LAST_REQUEST"
Try to reconnect and leave the pending requests unchanged. Retry the last request upon the successful database reconnection.