org.globus.ogsa.impl.base.db.xindice
Class XindiceServiceDataSet
java.lang.Object
org.globus.ogsa.impl.core.service.ServiceDataSetImpl
org.globus.ogsa.impl.base.db.xindice.XindiceServiceDataSet
- All Implemented Interfaces:
- ServiceDataSet
- public class XindiceServiceDataSet
- extends ServiceDataSetImpl
- implements ServiceDataSet
This class implements a persistent ServiceDataSet using Apache Xindice as the storage engine
| Methods inherited from class org.globus.ogsa.impl.core.service.ServiceDataSetImpl |
checkMatching, create, delete, evaluate, get, getNames, getNotifiableNames, iterator, notifyListenersWithAck, registerListener, remove, removeListener, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.ogsa.ServiceDataSet |
checkMatching, create, delete, evaluate, get, getNames, getNotifiableNames, iterator, notifyListenersWithAck, registerListener, remove, removeListener, size |
checkpointOnNotify
public boolean checkpointOnNotify
XindiceServiceDataSet
public XindiceServiceDataSet(java.lang.String dbURI,
java.lang.String collectionName)
throws java.lang.Exception
isLazyCommit
public boolean isLazyCommit()
setLazyCommit
public void setLazyCommit(boolean enabled)
commit
public void commit()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Throws:
java.lang.Exception
notifyListeners
public void notifyListeners(ServiceData serviceData)
- Description copied from interface:
ServiceDataSet
- This method is called by service data elements on their parent set when they change. See:
ServiceData.notifyChange
- Specified by:
notifyListeners in interface ServiceDataSet- Overrides:
notifyListeners in class ServiceDataSetImpl
add
public void add(ServiceData serviceData)
throws GridServiceException
- Description copied from interface:
ServiceDataSet
- Adds a service data element to the set and makes it available to queries and subscriptions
- Specified by:
add in interface ServiceDataSet- Overrides:
add in class ServiceDataSetImpl
- Throws:
GridServiceException
add
public void add(ServiceData serviceData,
boolean destructiveAdd)
throws GridServiceException
- Throws:
GridServiceException
get
public ServiceData get(QName name)
throws GridServiceException
- Overrides:
get in class ServiceDataSetImpl
- Throws:
GridServiceException
delete
public void delete(QName name)
throws GridServiceException
- Overrides:
delete in class ServiceDataSetImpl
- Throws:
GridServiceException
remove
public ServiceData remove(QName name)
throws GridServiceException
- Overrides:
remove in class ServiceDataSetImpl
- Throws:
GridServiceException