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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html