org.glite.rgma
Class ProducerType

java.lang.Object
  extended byorg.glite.rgma.ProducerType

public class ProducerType
extends java.lang.Object

Attributes of a Producer.


Constructor Summary
ProducerType(boolean history, boolean latest, boolean continuous, boolean isStatic, boolean republisher)
          Creates a new ProducerType instance.
ProducerType(boolean history, boolean latest, boolean continuous, boolean isStatic, boolean republisher, boolean ignoreSlowConsumers)
          Deprecated.  
ProducerType(ProducerType producerType)
          Creates a new ProducerType instance from an existing ProducerType.
 
Method Summary
 boolean ignoreSlowConsumers()
          Deprecated.  
 boolean isContinuous()
          Does the producer support continuous queries?
 boolean isHistory()
          Does the producer support history queries?
 boolean isLatest()
          Does the producer support latest queries?
 boolean isRepublisher()
          Deprecated.  
 boolean isSecondaryProducer()
          Is the producer a secondary producer?
 boolean isStatic()
          Does the producer support static queries?
 void setRepublisher(boolean secondaryProducer)
          Deprecated.  
 void setSecondaryProducer(boolean secondaryProducer)
          Sets the republisher flag.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProducerType

public ProducerType(ProducerType producerType)
Creates a new ProducerType instance from an existing ProducerType.

Parameters:
producerType - ProducerType object to copy.

ProducerType

public ProducerType(boolean history,
                    boolean latest,
                    boolean continuous,
                    boolean isStatic,
                    boolean republisher)
Creates a new ProducerType instance.

Parameters:
history - Support HISTORY queries.
latest - Support LATEST queries.
continuous - Support CONTINUOUS queries.
isStatic - Support STATIC queries.
republisher - Is part of a republisher.

ProducerType

public ProducerType(boolean history,
                    boolean latest,
                    boolean continuous,
                    boolean isStatic,
                    boolean republisher,
                    boolean ignoreSlowConsumers)
Deprecated.  

Creates a new ProducerType instance.

Parameters:
history - Support HISTORY queries.
latest - Support LATEST queries.
continuous - Support CONTINUOUS queries.
isStatic - Support STATIC queries.
republisher - Is part of a republisher.
ignoreSlowConsumers - DOCUMENT ME!
See Also:
ProducerType(boolean, boolean, boolean, boolean, boolean)
Method Detail

isSecondaryProducer

public boolean isSecondaryProducer()
Is the producer a secondary producer?

Returns:
Returns secondaryProducer.

isRepublisher

public boolean isRepublisher()
Deprecated.  

Is the producer a secondary producer?

Returns:
Returns secondaryProducer.
See Also:
isSecondaryProducer()

isContinuous

public boolean isContinuous()
Does the producer support continuous queries?

Returns:
Returns the continuous.

isStatic

public boolean isStatic()
Does the producer support static queries?

Returns:
Returns the static.

isHistory

public boolean isHistory()
Does the producer support history queries?

Returns:
Returns the history.

isLatest

public boolean isLatest()
Does the producer support latest queries?

Returns:
Returns the latest.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
A string representation of the object.
See Also:
Object.toString()

ignoreSlowConsumers

public boolean ignoreSlowConsumers()
Deprecated.  

Returns the ignoreSlowConsumer flag.

Returns:
ignoreSlowConsumers flag.

setRepublisher

public void setRepublisher(boolean secondaryProducer)
Deprecated.  

Sets the secondaryProducer flag.

Parameters:
secondaryProducer - Is the producer a secondary producer?
See Also:
setSecondaryProducer(boolean)

setSecondaryProducer

public void setSecondaryProducer(boolean secondaryProducer)
Sets the republisher flag.

Parameters:
secondaryProducer - Is the producer part of a republisher?