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