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.
-
Deprecated:
-
This will be removed in the next release as it's not deemed a necessary option. Please use DO_NOT_RECONNECT or RECONNECT_AND_RETRY_LAST_REQUEST instead.
|
string | RECONNECT_AND_CLEAR_REQUEST_QUEUE := "RECONNECT_AND_CLEAR_REQUEST_QUEUE"
Try to reconnect and remove all the pending requests.
-
Deprecated:
-
This will be removed in the next release as it's not deemed a necessary option. Please use DO_NOT_RECONNECT or RECONNECT_AND_RETRY_LAST_REQUEST instead.
|
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"
-
Deprecated:
-
This will be removed in the next release as it's not deemed a necessary option. Please use DO_NOT_RECONNECT or RECONNECT_AND_RETRY_LAST_REQUEST instead.
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"
-
Deprecated:
-
This will be removed in the next release as it's not deemed a necessary option. Please use DO_NOT_RECONNECT or RECONNECT_AND_RETRY_LAST_REQUEST instead.
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.