net.sourceforge.hiveevents
Class ChannelContribution
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
net.sourceforge.hiveevents.ChannelContribution
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
public class ChannelContribution
- extends org.apache.hivemind.impl.BaseLocatable
Represents a configuration parameter to the ChannelRepository service.
Each instance defines an event channel.
- Author:
- Jean-Francois Poilpret
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChannelContribution
public ChannelContribution()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
setThreadSafe
public void setThreadSafe(boolean threadSafe)
isThreadSafe
public boolean isThreadSafe()
setLogEvents
public void setLogEvents(boolean logEvents)
isLogEvents
public boolean isLogEvents()
setEventClass
public void setEventClass(java.lang.Class eventClass)
getEventClass
public java.lang.Class getEventClass()
setPullConsumerPriority
public void setPullConsumerPriority(int pullConsumerPriority)
getPullConsumerPriority
public int getPullConsumerPriority()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object