|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.indexmanagement.storagehandling.RemoteDeltaListManager
public class RemoteDeltaListManager
Constructor Summary | |
---|---|
RemoteDeltaListManager(java.lang.String indexManagementID,
org.apache.axis.message.addressing.EndpointReferenceType indexManagerEPR,
GCUBEServiceContext sctx)
Constructs a new RemoteDeltaListManager |
|
RemoteDeltaListManager(java.lang.String indexManagementID,
GCUBEServiceContext sctx,
java.lang.String managementServiceNamespace)
Constructs a new RemoteDeltaListManager |
Method Summary | |
---|---|
int |
connectLookup()
Connects a lookup to the index management resource. |
ConnectUpdaterResponse |
connectUpdater()
Connects an updater to the index management resource. |
void |
disconnectUpdater(int updaterID)
Disconnects an updater from the index management resource. |
java.lang.String |
getDeltaCollectionID()
Returns a ID of the collection with the delta related documents |
DeltaFileInfoType |
getDeltaFileInfo(int idx)
Returns info about a given delta file. |
DeltaFileInfoType[] |
getDeltaFileList()
Returns the delta file list. |
org.apache.axis.message.addressing.EndpointReferenceType |
getIndexManagerEPR()
|
boolean |
isEmpty()
|
void |
mergeDeltaFile(DeltaFileInfoType deltaInfo)
Merges a delta file with the main index. |
void |
setIndexManagerEPR(org.apache.axis.message.addressing.EndpointReferenceType managerEPR)
Sets the EPR of the remote delta list manager |
org.globus.wsrf.core.notification.SubscriptionManager |
subscribeForAdditions(IndexNotificationConsumer consumer)
Subsribes this RemoteDeltaListManager for notifications concerning additions of data to the index. |
org.globus.wsrf.core.notification.SubscriptionManager |
subscribeForDeletions(IndexNotificationConsumer consumer)
Subsribes this RemoteDeltaListManager for notifications concerning deletions of data to the index. |
org.globus.wsrf.core.notification.SubscriptionManager |
subscribeForIndexRemoval(IndexNotificationConsumer consumer)
|
org.globus.wsrf.core.notification.SubscriptionManager |
subscribeForManagerCreation(IndexNotificationConsumer consumer)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteDeltaListManager(java.lang.String indexManagementID, GCUBEServiceContext sctx, java.lang.String managementServiceNamespace) throws java.lang.Exception
indexManagementID
- the ID of the index whose delta list is to be managedsctx
- the service context to be used for security and scoping
IndexException
- an error occurred
java.lang.Exception
public RemoteDeltaListManager(java.lang.String indexManagementID, org.apache.axis.message.addressing.EndpointReferenceType indexManagerEPR, GCUBEServiceContext sctx) throws java.lang.Exception
indexManagementID
- the ID of the index whose delta list is to be managedindexManagerEPR
- the EPR of the index managersctx
- the service context to be used for security and scoping
java.lang.Exception
- an error occurredMethod Detail |
---|
public java.lang.String getDeltaCollectionID() throws java.lang.Exception
getDeltaCollectionID
in interface DeltaListManagementWrapper
java.lang.Exception
- when contacting the DeltaListManagementProviderPortType
public void setIndexManagerEPR(org.apache.axis.message.addressing.EndpointReferenceType managerEPR) throws java.lang.Exception
setIndexManagerEPR
in interface DeltaListManagementWrapper
managerEPR
- the EPR of the remote delta list manager
java.lang.Exception
public org.apache.axis.message.addressing.EndpointReferenceType getIndexManagerEPR()
getIndexManagerEPR
in interface DeltaListManagementWrapper
public boolean isEmpty()
isEmpty
in interface DeltaListManagementWrapper
public ConnectUpdaterResponse connectUpdater() throws java.lang.Exception
connectUpdater
in interface DeltaListManagementWrapper
java.lang.Exception
- an error occuredpublic int connectLookup() throws java.lang.Exception
connectLookup
in interface DeltaListManagementWrapper
java.lang.Exception
- an error occurredpublic void disconnectUpdater(int updaterID) throws java.lang.Exception
disconnectUpdater
in interface DeltaListManagementWrapper
updaterID
- the ID of the updater to disconnect
java.lang.Exception
- an error occurredpublic DeltaFileInfoType getDeltaFileInfo(int idx) throws java.lang.Exception
getDeltaFileInfo
in interface DeltaListManagementWrapper
idx
- the index of delta file in question
java.lang.Exception
- an error occurredpublic DeltaFileInfoType[] getDeltaFileList() throws java.lang.Exception
getDeltaFileList
in interface DeltaListManagementWrapper
java.lang.Exception
- an error occurredpublic void mergeDeltaFile(DeltaFileInfoType deltaInfo) throws java.lang.Exception
mergeDeltaFile
in interface DeltaListManagementWrapper
deltaInfo
- info about the delta file to merge
java.lang.Exception
- an error occurredpublic org.globus.wsrf.core.notification.SubscriptionManager subscribeForAdditions(IndexNotificationConsumer consumer) throws java.lang.Exception
subscribeForAdditions
in interface DeltaListManagementWrapper
java.lang.Exception
- an error occuredpublic org.globus.wsrf.core.notification.SubscriptionManager subscribeForDeletions(IndexNotificationConsumer consumer) throws java.lang.Exception
subscribeForDeletions
in interface DeltaListManagementWrapper
java.lang.Exception
- an error occuredpublic org.globus.wsrf.core.notification.SubscriptionManager subscribeForIndexRemoval(IndexNotificationConsumer consumer) throws java.lang.Exception
subscribeForIndexRemoval
in interface DeltaListManagementWrapper
java.lang.Exception
public org.globus.wsrf.core.notification.SubscriptionManager subscribeForManagerCreation(IndexNotificationConsumer consumer) throws java.lang.Exception
subscribeForManagerCreation
in interface DeltaListManagementWrapper
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |