org.craft.atom.io.AbstractChannel Maven / Gradle / Ivy
package org.craft.atom.io;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
/**
* Base implementation class for common concept of channel.
*
* @author mindwind
* @version 1.0, Feb 21, 2013
*/
@EqualsAndHashCode(of = "id")
@ToString(of = { "id", "state" })
abstract public class AbstractChannel {
private static final AtomicLong ID_GENERATOR = new AtomicLong(0);
@Getter protected long id ;
protected Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy