Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::ProducerProperties Class Reference

#include <ProducerProperties.h>

List of all members.

Public Member Functions

 ProducerProperties (const Storage storage, int supportedQueries, bool ignoreSlowConsumers)
 ProducerProperties (const Storage storage=Storage::MEMORY, int supportedQueries=0) throw (RGMAException)
 ProducerProperties (const ProducerProperties &producerProperties)
ProducerPropertiesoperator= (const ProducerProperties &producerProperties)
bool isHistory ()
bool isLatest ()
bool isSignalSlowConsumer ()
const Storage getStorage ()

Static Public Attributes

const int HISTORY = 1
const int LATEST = 2
const int CONTINUOUS = 0


Detailed Description

Properties of a Primary or Secondary Producer.


Constructor & Destructor Documentation

glite::rgma::ProducerProperties::ProducerProperties const Storage  storage,
int  supportedQueries,
bool  ignoreSlowConsumers
 

Creates a new ProducerProperties object.

Parameters:
storage The storage location for tuples.
supportedQueries Queries supported by producer (All query types support CONTINUOUS queries). Possible values are: 0, HISTORY, LATEST or HISTORY+LATEST.
ignoreSlowConsumers Set true if the Producer should ignore slow Consumers if they are preventing tuple deletion.
See also:
ProducerProperties(Storage, int)
Deprecated:
use ProducerProperties(Storage, int)

glite::rgma::ProducerProperties::ProducerProperties const Storage  storage = Storage::MEMORY,
int  supportedQueries = 0
throw (RGMAException)
 

Creates a new ProducerProperties object.

Parameters:
storage The storage location for tuples.
supportedQueries Queries supported by producer (All query types support CONTINUOUS queries). Possible values are: 0, HISTORY, LATEST or HISTORY+LATEST.
Exceptions:
RGMAException if supportedQuery is not supported


Member Function Documentation

const Storage glite::rgma::ProducerProperties::getStorage  ) 
 

Gets the storage location for this Producer.

Returns:
The Storage object for this Producer.

bool glite::rgma::ProducerProperties::isHistory  ) 
 

Determines the Producer's support for history queries.

Returns:
true if the Producer supports history queries.

bool glite::rgma::ProducerProperties::isLatest  ) 
 

Determines the Producer's support for latest queries.

Returns:
true if the Producer supports latest queries.

bool glite::rgma::ProducerProperties::isSignalSlowConsumer  ) 
 

Determines if the Producer will block on slow Consumers.

Returns:
true if the Producer blocks on slow Consumers.


Member Data Documentation

const int glite::rgma::ProducerProperties::CONTINUOUS = 0 [static]
 

Producer supports CONTINUOUS queries.

const int glite::rgma::ProducerProperties::HISTORY = 1 [static]
 

Producer supports HISTORY queries.

const int glite::rgma::ProducerProperties::LATEST = 2 [static]
 

Producer supports LATEST queries.


The documentation for this class was generated from the following files:
Generated on Wed Apr 25 19:11:33 2007 for glite-rgma-api-cpp by doxygen 1.3.5