|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable oracle.jdeveloper.vcs.spi.VCSURLBasedCache oracle.jdeveloper.vcs.changelist.ChangeListStatusCache
StatusCache
.
@Deprecated public abstract class ChangeListStatusCache
Utility class for caching URLs' change list status values. This class takes care of all cache responsibilities. Concrete subclasses are required to provide the implementation for returning uncached statuses. The cache is observable; attached observers are updated with an array of URLs whose statuses have been cleared (and hence may have changed).
Constructor Summary | |
---|---|
ChangeListStatusCache()
Deprecated. |
Method Summary | |
---|---|
void |
clear()
Deprecated. Clears the cached change list statuses for all URLs. |
void |
clear(java.net.URL url)
Deprecated. Clears the cached change list status for the given URL. |
void |
clear(java.net.URL[] urls)
Deprecated. Clears the cached change list statuses for the given URLs. |
void |
clear(URLFilter filter)
Deprecated. Clears the cached change list statuses for URLs accepted by the given filter. |
protected java.lang.Object[] |
createValueArray(int length)
Deprecated. |
ChangeListStatus |
get(java.net.URL url)
Deprecated. Gets the status of a single URL. |
ChangeListStatus[] |
get(java.net.URL[] urls)
Deprecated. Gets the change list statuses for the given URLs. |
protected abstract void |
getImpl(java.net.URL[] urls,
ChangeListStatus[] statuses)
Deprecated. Gets current statuses for the given URLs, populating the status array. |
protected void |
getValuesImpl(java.net.URL[] urls,
java.lang.Object[] values)
Deprecated. |
java.net.URL[] |
search(URLFilter filter)
Deprecated. Searches the change list status cache for URLs accepted by the given filter. |
Methods inherited from class oracle.jdeveloper.vcs.spi.VCSURLBasedCache |
---|
addCacheListener, callUnderWriteLock, clearValue, clearValues, clearValues, clearValues, clearValues, clearValuesInternal, dispose, getValue, getValueInternal, getValueInternal, getValues, getValuesImpl, isLocalCache, newLocalCache, putValueInternal, putValueInternal, removeCacheListener, runUnderWriteLock, searchValues |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeListStatusCache()
Method Detail |
---|
protected final void getValuesImpl(java.net.URL[] urls, java.lang.Object[] values) throws java.lang.Exception
getValuesImpl
in class VCSURLBasedCache
java.lang.Exception
protected final java.lang.Object[] createValueArray(int length)
createValueArray
in class VCSURLBasedCache
public final ChangeListStatus get(java.net.URL url) throws java.lang.Exception
url
- the URL for the status query.
java.lang.Exception
public ChangeListStatus[] get(java.net.URL[] urls) throws java.lang.Exception
urls
- the array of URLs for the status query.
java.lang.Exception
- if a critical exception occurred.public void clear()
public void clear(java.net.URL url)
url
- the URL for clearing from the cache.public void clear(java.net.URL[] urls)
urls
- the URLs for clearing from the cache.public void clear(URLFilter filter)
filter
- a filter that accepts URLs for clearing from the cache.public java.net.URL[] search(URLFilter filter)
filter
- a filter that accepts URLs to return.
protected abstract void getImpl(java.net.URL[] urls, ChangeListStatus[] statuses) throws java.lang.Exception
urls
- the array of URLs for the status query.statuses
- the array of current change list statuses to populate.
java.lang.Exception
- if a critical exception occurred.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |