Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e591353b0780442a4002e371aa7c41e4a7b95fc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2010-2012, 2015 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
 *
 * Contributors:
 *    Caspar De Groot - initial API and implementation
 */
package org.eclipse.emf.cdo.net4j;

/**
 * A {@link RecoveringCDOSessionConfiguration session configuration} that recovers from network problems by attempting
 * to reconnect to the same repository in specific intervals.
 *
 * @author Caspar De Groot
 * @since 4.0
 * @noextend This interface is not intended to be extended by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface ReconnectingCDOSessionConfiguration extends RecoveringCDOSessionConfiguration
{
  public long getReconnectInterval();

  public void setReconnectInterval(long interval);

  public int getMaxReconnectAttempts();

  public void setMaxReconnectAttempts(int attempts);
}

Back to the top