|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.mds.aggregator.impl.AggregatorServiceGroupResource
org.gcube.informationsystem.collector.impl.state.AggregatorRegisteredResource
public class AggregatorRegisteredResource
This class implements an aggregating in-memory service group resource.
For every registered AggregatorSource instance one connected AggregatorRegisteredResource
instance is created and it is delivered with its data, following the chosen registration mode
(Push/Pull).
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
RP_SET
|
| Fields inherited from class org.globus.mds.aggregator.impl.AggregatorServiceGroupResource |
|---|
DEFAULT_SWEEP_PERIOD, REGISTRATION_COUNT_RP |
| Constructor Summary | |
|---|---|
AggregatorRegisteredResource()
Builds a new resource |
|
| Method Summary | |
|---|---|
void |
deliver(org.apache.axis.encoding.AnyContentType messageObj,
org.globus.mds.aggregator.impl.AggregatorServiceGroupEntryResource entry)
Takes delivery of a message from an AggregatorSource. |
java.util.Calendar |
getCurrentTime()
|
org.globus.wsrf.ResourceKey |
getResourceKey()
|
org.globus.mds.aggregator.impl.AggregatorSource |
getSource()
Gets the AggregatorSource connected to this sink |
java.util.Calendar |
getTerminationTime()
|
org.globus.wsrf.TopicList |
getTopicList()
|
void |
initialize(java.lang.Object parameters)
Called to initialize any necessary state. |
void |
remove()
Callback method invoked when the resource is removed by the Aggregator Framework |
void |
setResourceKey(org.globus.wsrf.ResourceKey k)
Used to inform the resource of its key. |
void |
setSource(org.globus.mds.aggregator.impl.AggregatorSource source)
Sets the AggregatorSource connected to this sink |
void |
setTerminationTime(java.util.Calendar time)
Sets the termination time |
void |
terminate()
Called to free resources used by the sink. |
| Methods inherited from class org.globus.mds.aggregator.impl.AggregatorServiceGroupResource |
|---|
addAggregatorSource, getConfiguration, getKey, getResourcePropertySet, iterateEntryKeys, iterateEntryValues, loadCompatibleSources, notifyChange, serviceGroupAdd, setVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.wsrf.ResourceProperties |
|---|
getResourcePropertySet |
| Field Detail |
|---|
public static final javax.xml.namespace.QName RP_SET
| Constructor Detail |
|---|
public AggregatorRegisteredResource()
| Method Detail |
|---|
public void setResourceKey(org.globus.wsrf.ResourceKey k)
throws java.lang.Exception
k - the resource key
java.lang.Exception - if the resource key is already setpublic org.globus.wsrf.ResourceKey getResourceKey()
public void setTerminationTime(java.util.Calendar time)
setTerminationTime in interface org.globus.wsrf.ResourceLifetimetime - the new termination timepublic java.util.Calendar getTerminationTime()
getTerminationTime in interface org.globus.wsrf.ResourceLifetimepublic java.util.Calendar getCurrentTime()
getCurrentTime in interface org.globus.wsrf.ResourceLifetimepublic org.globus.wsrf.TopicList getTopicList()
getTopicList in interface org.globus.wsrf.TopicListAccessor
public void deliver(org.apache.axis.encoding.AnyContentType messageObj,
org.globus.mds.aggregator.impl.AggregatorServiceGroupEntryResource entry)
deliver in interface org.globus.mds.aggregator.impl.AggregatorSinkmessageObj - the message contententry - the related service group entrypublic void initialize(java.lang.Object parameters)
initialize in interface org.globus.mds.aggregator.impl.AggregatorSinkparameters - any initialization parameters (not used)public void setSource(org.globus.mds.aggregator.impl.AggregatorSource source)
setSource in interface org.globus.mds.aggregator.impl.AggregatorSinksource - the sourcepublic org.globus.mds.aggregator.impl.AggregatorSource getSource()
getSource in interface org.globus.mds.aggregator.impl.AggregatorSinkpublic void terminate()
terminate in interface org.globus.mds.aggregator.impl.AggregatorSinkpublic void remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||