org.echocat.jomon.net.cluster.channel.PingEnabledClusterChannel Maven / Gradle / Ivy
/*****************************************************************************************
* *** BEGIN LICENSE BLOCK *****
*
* Version: MPL 2.0
*
* echocat Jomon, Copyright (c) 2012-2013 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* *** END LICENSE BLOCK *****
****************************************************************************************/
package org.echocat.jomon.net.cluster.channel;
import org.echocat.jomon.runtime.util.Duration;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Date;
public interface PingEnabledClusterChannel> extends ClusterChannel {
public void ping();
@Nullable
public Date getLastPingSendAt();
@Nonnull
public Duration getPingInterval();
public void setPingInterval(@Nonnull Duration pingInterval);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy