|
||||||||||
| 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 occurred| Method Detail |
|---|
public java.lang.String getDeltaCollectionID()
throws java.lang.Exception
getDeltaCollectionID in interface DeltaListManagementWrapperjava.lang.Exception - when contacting the DeltaListManagementProviderPortType
public void setIndexManagerEPR(org.apache.axis.message.addressing.EndpointReferenceType managerEPR)
throws java.lang.Exception
setIndexManagerEPR in interface DeltaListManagementWrappermanagerEPR - the EPR of the remote delta list manager
java.lang.Exceptionpublic org.apache.axis.message.addressing.EndpointReferenceType getIndexManagerEPR()
getIndexManagerEPR in interface DeltaListManagementWrapperpublic boolean isEmpty()
isEmpty in interface DeltaListManagementWrapper
public ConnectUpdaterResponse connectUpdater()
throws java.lang.Exception
connectUpdater in interface DeltaListManagementWrapperjava.lang.Exception - an error occured
public int connectLookup()
throws java.lang.Exception
connectLookup in interface DeltaListManagementWrapperjava.lang.Exception - an error occurred
public void disconnectUpdater(int updaterID)
throws java.lang.Exception
disconnectUpdater in interface DeltaListManagementWrapperupdaterID - the ID of the updater to disconnect
java.lang.Exception - an error occurred
public DeltaFileInfoType getDeltaFileInfo(int idx)
throws java.lang.Exception
getDeltaFileInfo in interface DeltaListManagementWrapperidx - the index of delta file in question
java.lang.Exception - an error occurred
public DeltaFileInfoType[] getDeltaFileList()
throws java.lang.Exception
getDeltaFileList in interface DeltaListManagementWrapperjava.lang.Exception - an error occurred
public void mergeDeltaFile(DeltaFileInfoType deltaInfo)
throws java.lang.Exception
mergeDeltaFile in interface DeltaListManagementWrapperdeltaInfo - info about the delta file to merge
java.lang.Exception - an error occurred
public org.globus.wsrf.core.notification.SubscriptionManager subscribeForAdditions(IndexNotificationConsumer consumer)
throws java.lang.Exception
subscribeForAdditions in interface DeltaListManagementWrapperjava.lang.Exception - an error occured
public org.globus.wsrf.core.notification.SubscriptionManager subscribeForDeletions(IndexNotificationConsumer consumer)
throws java.lang.Exception
subscribeForDeletions in interface DeltaListManagementWrapperjava.lang.Exception - an error occured
public org.globus.wsrf.core.notification.SubscriptionManager subscribeForIndexRemoval(IndexNotificationConsumer consumer)
throws java.lang.Exception
subscribeForIndexRemoval in interface DeltaListManagementWrapperjava.lang.Exception
public org.globus.wsrf.core.notification.SubscriptionManager subscribeForManagerCreation(IndexNotificationConsumer consumer)
throws java.lang.Exception
subscribeForManagerCreation in interface DeltaListManagementWrapperjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||