blob: bf9fbc3c751e85a522888c4eed30bd8f129fe12e [file] [log] [blame]
/*
* 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;
import org.eclipse.net4j.signal.heartbeat.HeartBeatProtocol;
/**
* A {@link CDONet4jSessionConfiguration session configuration} that uses a {@link HeartBeatProtocol heart beat
* protocol} to detect network problems. Subtypes specify the exact behaviour to recover from these problems.
*
* @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.
*/
@SuppressWarnings("deprecation")
public interface RecoveringCDOSessionConfiguration extends CDOSessionConfiguration
{
public boolean isHeartBeatEnabled();
public void setHeartBeatEnabled(boolean enabled);
public long getHeartBeatPeriod();
public void setHeartBeatPeriod(long period);
public long getHeartBeatTimeout();
public void setHeartBeatTimeout(long timeout);
public long getConnectorTimeout();
public void setConnectorTimeout(long timeout);
}