|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.storagehandling.DeltaListManagementHandler
public class DeltaListManagementHandler
| Constructor Summary | |
|---|---|
DeltaListManagementHandler()
|
|
DeltaListManagementHandler(org.gcube.indexmanagement.common.IndexManagementWSResource resource,
String stateFilename)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the delta list management handler by performing clean up. |
int |
connectLookup()
|
int |
connectUpdater()
|
void |
disconnectUpdater(int connectionID)
|
String |
getDeltaFileCollectionID()
|
org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType |
getDeltaFileInfo(int idx)
|
org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType[] |
getDeltaFileList()
|
org.gcube.indexmanagement.common.IndexWSResource |
getResource()
|
boolean |
isUpdating()
|
void |
loadState(ObjectInputStream ois,
boolean firstLoad,
org.gcube.indexmanagement.common.IndexManagementWSResource resource)
Loads the current state of this DeltaListManagementHandler from an object stream. |
protected void |
mergeDeltaFile(org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType deltaInfo,
boolean bSendUpdateNotification)
|
void |
setIndexResourceScopeToDeltaListManagementScope()
Sets the scope of the current thread in the service context of the index resource to the scope of the current thread as given by the DeltaListManagementHandler's ServiceContext. |
void |
storeState(ObjectOutputStream oos)
Stores the current state of this DeltaListManagementHandler to an object stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeltaListManagementHandler()
public DeltaListManagementHandler(org.gcube.indexmanagement.common.IndexManagementWSResource resource,
String stateFilename)
throws org.gcube.indexmanagement.common.IndexException
org.gcube.indexmanagement.common.IndexException| Method Detail |
|---|
public void storeState(ObjectOutputStream oos)
oos - the output stream
public void loadState(ObjectInputStream ois,
boolean firstLoad,
org.gcube.indexmanagement.common.IndexManagementWSResource resource)
throws Exception
ois - the input streamfirstLoad - specifies whether this is the first load or notresource - the manager resource associated with this DeltaListManagementHandler
Exception
public int connectLookup()
throws org.gcube.indexmanagement.common.IndexException
org.gcube.indexmanagement.common.IndexException
public int connectUpdater()
throws org.gcube.indexmanagement.common.IndexException
org.gcube.indexmanagement.common.IndexExceptionpublic void disconnectUpdater(int connectionID)
protected void mergeDeltaFile(org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType deltaInfo,
boolean bSendUpdateNotification)
throws Exception
Exceptionpublic org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType getDeltaFileInfo(int idx)
public org.gcube.indexmanagement.storagehandling.stubs.DeltaFileInfoType[] getDeltaFileList()
public void close()
public void setIndexResourceScopeToDeltaListManagementScope()
public boolean isUpdating()
public org.gcube.indexmanagement.common.IndexWSResource getResource()
public String getDeltaFileCollectionID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||