All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.context.Context Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta1
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.context;

/**
 * Encapsulates some context that is applicable until {@link #close()}.
 * @author Paul Ferraro
 */
public interface Context extends AutoCloseable {
	Context EMPTY = new Context() {
		@Override
		public void close() {
		}
	};

	@Override
	void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy