|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ifs.fdk.ItemSetInvalidator
The interface used to be notified when one or more of a set of items are changed by any session.
Constructor Summary | |
ItemSetInvalidator(FdkSession session) Construct an ItemSetInvalidator. |
Method Summary | |
void |
invalidate() Receive notification that one or more items specified when this ItemSetInvalidatorListener was registered has been invalidated. |
boolean |
isInvalidated() Check to see if any of the prevously specified dependent items have been invalidated. |
void |
register(java.util.List items) Register the ItemSetInvalidator. |
void |
register(long[] items) Register the ItemSetInvalidator. |
void |
reset() Reset the ItemSetInvalidator to begin watching for invalidations for the previously specified set of items. |
void |
reset(java.util.List items) Reset the ItemSetInvalidator to begin watching for invalidations based on the newly specified set of items. |
void |
reset(long[] items) Reset the ItemSetInvalidator to begin watching for invalidations based on the newly specified set of items. |
void |
unregister() Unregister the ItemSetInvalidator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ItemSetInvalidator(FdkSession session) throws FdkException
session
- the session contextFdkException
- if the operation fails.Method Detail |
public void invalidate()
invalidate
in interface ItemSetInvalidationListener
public boolean isInvalidated() throws FdkException
FdkException
- if the operation fails.public void register(java.util.List items) throws FdkException
This registers the invalidator for the specified set of items, so that a subsequent call to isInvalidated
will detect the case where one or more items have been invalidated since the last interogation.
items
- the items that will be watched for invalidationsFdkException
- if the operation fails.public void register(long[] items) throws FdkException
This registers the invalidator for the specified set of items, so that a subsequent call to isInvalidated
will detect the case where one or more items have been invalidated since the last interogation.
items
- the items that will be watched for invalidationsFdkException
- if the operation fails.public void reset() throws FdkException
FdkException
- if the operation fails.public void reset(java.util.List items) throws FdkException
items
- the items that will be watched for invalidationsFdkException
- if the operation fails.public void reset(long[] items) throws FdkException
items
- the items that will be watched for invalidationsFdkException
- if the operation fails.public void unregister() throws FdkException
This should be called this when the Invalidator is no longer in use, to free up resources that would not otherwise be freed until the FdkSession is disconnected.
FdkException
- if the operation fails.
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |