|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.mds.aggregator.impl.AggregatorServiceGroupResource
Implements an aggregating in-memory service group resource.
Entries will be stored in a hash table under each service group resource
so that we can easily find them; the key for a service group entry
must first contain the key to the appropriate service group and then
the key within that to the appropriate entry.
| Field Summary | |
static long |
DEFAULT_SWEEP_PERIOD
The default entry sweeper, in milliseconds. |
static QName |
REGISTRATION_COUNT_RP
|
static QName |
RP_SET
|
| Constructor Summary | |
AggregatorServiceGroupResource()
|
|
| Method Summary | |
void |
addAggregatorSource(AggregatorSource source)
|
protected long |
decrementCurrent()
|
AggregatorConfiguration |
getConfiguration()
|
protected long |
getCurrentRegCount()
|
org.globus.wsrf.ResourceKey |
getKey()
|
protected long |
getLifetimeRegTotal()
|
org.globus.wsrf.ResourcePropertySet |
getResourcePropertySet()
|
protected long |
incrementCurrent()
|
protected long |
incrementTotal()
|
protected void |
init(QName rpSetName)
|
Iterator |
iterateEntryKeys()
Provide an iterator that will return ResourceKeys that are valid in the context of the entry home |
Iterator |
iterateEntryValues()
Provide an iterator to a java.util.Set for getting the runtime entry Resource instances directly. |
void |
loadCompatibleSources(AggregatorSink sink)
|
void |
notifyChange()
|
void |
remove()
|
protected void |
removeAllEntryResources()
|
protected void |
removeEntryResource(org.globus.wsrf.ResourceKey entryResourceKey)
|
EndpointReferenceType |
serviceGroupAdd(org.oasis.wsrf.servicegroup.Add add)
Adds a registration to the AggregatingServiceGroup. |
void |
setVersion(String version)
|
void |
unloadSources()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final long DEFAULT_SWEEP_PERIOD
public static final QName RP_SET
public static final QName REGISTRATION_COUNT_RP
| Constructor Detail |
public AggregatorServiceGroupResource()
| Method Detail |
protected void init(QName rpSetName)
public void addAggregatorSource(AggregatorSource source)
public org.globus.wsrf.ResourcePropertySet getResourcePropertySet()
getResourcePropertySet in interface org.globus.wsrf.ResourcePropertiespublic void setVersion(String version)
public org.globus.wsrf.ResourceKey getKey()
public Iterator iterateEntryKeys()
ServiceGroupResource
iterateEntryKeys in interface ServiceGroupResourcepublic Iterator iterateEntryValues()
ServiceGroupResource
iterateEntryValues in interface ServiceGroupResourceprotected long getLifetimeRegTotal()
protected long getCurrentRegCount()
protected long incrementTotal()
protected long incrementCurrent()
protected long decrementCurrent()
public AggregatorConfiguration getConfiguration()
public void loadCompatibleSources(AggregatorSink sink)
throws Exception
Exceptionpublic void unloadSources()
public EndpointReferenceType serviceGroupAdd(org.oasis.wsrf.servicegroup.Add add)
throws RemoteException,
org.oasis.wsrf.servicegroup.AddRefusedFaultType,
org.oasis.wsrf.servicegroup.ContentCreationFailedFaultType,
org.oasis.wsrf.servicegroup.UnsupportedMemberInterfaceFaultType
serviceGroupAdd in interface ServiceGroupRegistrationResourceRemoteException
org.oasis.wsrf.servicegroup.AddRefusedFaultType
org.oasis.wsrf.servicegroup.ContentCreationFailedFaultType
org.oasis.wsrf.servicegroup.UnsupportedMemberInterfaceFaultTypepublic void notifyChange()
protected void removeEntryResource(org.globus.wsrf.ResourceKey entryResourceKey)
protected void removeAllEntryResources()
public void remove()
remove in interface org.globus.wsrf.RemoveCallback
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||