com.apama.database
Event DBReconnectPolicy
An enumeration containing constants for the reconnection policy used when an adapter connection error occurs.
Constant summary |
string | DO_NOT_RECONNECT := "DO_NOT_RECONNECT"
Do not try to reconnect. |
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. |
string | RECONNECT_AND_CLEAR_REQUEST_QUEUE := "RECONNECT_AND_CLEAR_REQUEST_QUEUE"
Try to reconnect and remove all the pending requests. |
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
string DO_NOT_RECONNECT := "DO_NOT_RECONNECT"
Do not try to reconnect.
RECONNECT
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
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
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.