org.eclipse.emf.cdo.net4j
Interface ReconnectingCDOSessionConfiguration

All Superinterfaces:
CDONet4jSessionConfiguration, CDOSessionConfiguration, INotifier, RecoveringCDOSessionConfiguration

public interface ReconnectingCDOSessionConfiguration
extends RecoveringCDOSessionConfiguration

A session configuration that recovers from network problems by attempting to reconnect to the same repository in specific intervals.

Since:
4.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.CDOSessionConfiguration
CDOSessionConfiguration.SessionOpenedEvent
 
Method Summary
 int getMaxReconnectAttempts()
           
 long getReconnectInterval()
           
 void setMaxReconnectAttempts(int attempts)
           
 void setReconnectInterval(long interval)
           
 
Methods inherited from interface org.eclipse.emf.cdo.net4j.RecoveringCDOSessionConfiguration
getConnectorTimeout, getHeartBeatPeriod, getHeartBeatTimeout, isHeartBeatEnabled, setConnectorTimeout, setHeartBeatEnabled, setHeartBeatPeriod, setHeartBeatTimeout
 
Methods inherited from interface org.eclipse.emf.cdo.net4j.CDONet4jSessionConfiguration
getBranchManager, getConnector, getPackageRegistry, getRepositoryName, getRevisionManager, getSignalTimeout, getStreamWrapper, openNet4jSession, openSession, setBranchManager, setConnector, setPackageRegistry, setRepositoryName, setRevisionManager, setSignalTimeout, setStreamWrapper
 
Methods inherited from interface org.eclipse.emf.cdo.session.CDOSessionConfiguration
getAuthenticator, getExceptionHandler, getFetchRuleManager, getIDGenerator, getLockNotificationMode, getPassiveUpdateMode, isActivateOnOpen, isPassiveUpdateEnabled, isSessionOpen, setActivateOnOpen, setExceptionHandler, setFetchRuleManager, setIDGenerator, setLockNotificationMode, setPassiveUpdateEnabled, setPassiveUpdateMode
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

getReconnectInterval

long getReconnectInterval()

setReconnectInterval

void setReconnectInterval(long interval)

getMaxReconnectAttempts

int getMaxReconnectAttempts()

setMaxReconnectAttempts

void setMaxReconnectAttempts(int attempts)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.