org.globus.mds.index.impl
Class IndexResource

java.lang.Object
  extended byorg.globus.mds.aggregator.impl.AggregatorServiceGroupResource
      extended byorg.globus.mds.index.impl.IndexResource
All Implemented Interfaces:
org.globus.wsrf.RemoveCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceProperties, ServiceGroupRegistrationResource, ServiceGroupResource, org.globus.wsrf.TopicListAccessor

public class IndexResource
extends AggregatorServiceGroupResource
implements org.globus.wsrf.TopicListAccessor

Resource Implementation of an Index resource. Each index resource maintains an aggregation of resource properties from other resources that have been registered to it. all of this index must remain in memory at all time.


Field Summary
static QName RP_SET
           
protected  Calendar terminationTime
           
 
Fields inherited from class org.globus.mds.aggregator.impl.AggregatorServiceGroupResource
DEFAULT_SWEEP_PERIOD, REGISTRATION_COUNT_RP
 
Constructor Summary
IndexResource()
           
 
Method Summary
 EndpointReferenceType getConsumer(org.globus.wsrf.NotifyCallback callback)
          returns an EPR to a newly created consumer, such that notifications sent to this consumer will be delivered to the callback.
 Calendar getCurrentTime()
           
 org.globus.wsrf.ResourceKey getResourceKey()
           
 Calendar getTerminationTime()
           
 org.globus.wsrf.TopicList getTopicList()
           
 void setResourceKey(org.globus.wsrf.ResourceKey k)
          Used to inform the resource of its key.
 void setTerminationTime(Calendar time)
           
 
Methods inherited from class org.globus.mds.aggregator.impl.AggregatorServiceGroupResource
addAggregatorSource, decrementCurrent, getConfiguration, getCurrentRegCount, getKey, getLifetimeRegTotal, getResourcePropertySet, incrementCurrent, incrementTotal, init, iterateEntryKeys, iterateEntryValues, loadCompatibleSources, notifyChange, remove, removeAllEntryResources, removeEntryResource, serviceGroupAdd, setVersion, unloadSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RP_SET

public static final QName RP_SET

terminationTime

protected Calendar terminationTime
Constructor Detail

IndexResource

public IndexResource()
Method Detail

setResourceKey

public void setResourceKey(org.globus.wsrf.ResourceKey k)
                    throws Exception
Used to inform the resource of its key.

Throws:
Exception

getResourceKey

public org.globus.wsrf.ResourceKey getResourceKey()

setTerminationTime

public void setTerminationTime(Calendar time)

getTerminationTime

public Calendar getTerminationTime()

getCurrentTime

public Calendar getCurrentTime()

getTopicList

public org.globus.wsrf.TopicList getTopicList()
Specified by:
getTopicList in interface org.globus.wsrf.TopicListAccessor

getConsumer

public EndpointReferenceType getConsumer(org.globus.wsrf.NotifyCallback callback)
returns an EPR to a newly created consumer, such that notifications sent to this consumer will be delivered to the callback.



Copyright © 1999-2006 University of Chicago. All rights reserved.