org.eclipse.emf.cdo.net4j
Interface RecoveringCDOSessionConfiguration

All Superinterfaces:
CDONet4jSessionConfiguration, CDOSessionConfiguration, INotifier
All Known Subinterfaces:
FailoverCDOSessionConfiguration, ReconnectingCDOSessionConfiguration

public interface RecoveringCDOSessionConfiguration
extends CDOSessionConfiguration

A session configuration that uses a heart beat protocol to detect network problems. Subtypes specify the exact behaviour to recover from these problems.

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
 long getConnectorTimeout()
           
 long getHeartBeatPeriod()
           
 long getHeartBeatTimeout()
           
 boolean isHeartBeatEnabled()
           
 void setConnectorTimeout(long timeout)
           
 void setHeartBeatEnabled(boolean enabled)
           
 void setHeartBeatPeriod(long period)
           
 void setHeartBeatTimeout(long timeout)
           
 
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

isHeartBeatEnabled

boolean isHeartBeatEnabled()

setHeartBeatEnabled

void setHeartBeatEnabled(boolean enabled)

getHeartBeatPeriod

long getHeartBeatPeriod()

setHeartBeatPeriod

void setHeartBeatPeriod(long period)

getHeartBeatTimeout

long getHeartBeatTimeout()

setHeartBeatTimeout

void setHeartBeatTimeout(long timeout)

getConnectorTimeout

long getConnectorTimeout()

setConnectorTimeout

void setConnectorTimeout(long timeout)


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