public class CDORetryExceptionHandler extends Object implements CDOSession.ExceptionHandler
session exection handler
that retries the failed protocol operation a configurable number
of times.Modifier and Type | Field and Description |
---|---|
static int |
RETRY_FOREVER |
Constructor and Description |
---|
CDORetryExceptionHandler() |
CDORetryExceptionHandler(int retries) |
Modifier and Type | Method and Description |
---|---|
int |
getRetries() |
void |
handleException(CDOSession session,
int attempt,
Exception exception) |
boolean |
isRetryingForever() |
String |
toString() |
public static final int RETRY_FOREVER
public CDORetryExceptionHandler(int retries)
public CDORetryExceptionHandler()
public int getRetries()
public boolean isRetryingForever()
public void handleException(CDOSession session, int attempt, Exception exception) throws Exception
handleException
in interface CDOSession.ExceptionHandler
Exception
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.