Skip navigation links
oracle.jdeveloper.vcs.spi
Class VCSURLBasedCache
java.lang.Object
java.util.Observable
oracle.jdeveloper.vcs.spi.VCSURLBasedCache
- Direct Known Subclasses:
- ChangeListLocalStatusCache, ChangeListStatusCache, VCSStatusCache
-
public abstract class VCSURLBasedCache
- extends java.util.Observable
Abstract superclass for a URL-based cache of objects.
- Since:
- 10.1.3.0.1
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 |
VCSURLBasedCache
public VCSURLBasedCache()
addCacheListener
public final void addCacheListener(VCSURLBasedCacheListener l)
removeCacheListener
public final void removeCacheListener(VCSURLBasedCacheListener l)
getValue
public java.lang.Object getValue(java.net.URL url)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
getValues
public java.lang.Object[] getValues(java.net.URL[] urls)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
clearValues
public void clearValues()
clearValue
public void clearValue(java.net.URL url)
clearValues
public void clearValues(java.net.URL[] urls)
clearValues
public void clearValues(URLFilter filter)
clearValues
protected void clearValues(URLFilter filter,
boolean invalidate)
searchValues
public java.net.URL[] searchValues(URLFilter filter)
getValuesImpl
public final java.lang.Object[] getValuesImpl(java.net.URL[] urls)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
runUnderWriteLock
public final void runUnderWriteLock(java.lang.Runnable runnable)
callUnderWriteLock
public final <V> V callUnderWriteLock(java.util.concurrent.Callable<V> callable)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
getValuesImpl
protected abstract void getValuesImpl(java.net.URL[] urls,
java.lang.Object[] values)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
createValueArray
protected java.lang.Object[] createValueArray(int length)
getValueInternal
protected java.lang.Object getValueInternal(java.net.URL url)
throws java.net.URISyntaxException
-
- Throws:
java.net.URISyntaxException
getValueInternal
protected java.lang.Object getValueInternal(VCSHashURL url)
throws java.net.URISyntaxException
-
- Throws:
java.net.URISyntaxException
putValueInternal
protected void putValueInternal(java.net.URL url,
java.lang.Object value)
throws java.net.URISyntaxException
-
- Throws:
java.net.URISyntaxException
putValueInternal
protected void putValueInternal(VCSHashURL url,
java.lang.Object value)
throws java.net.URISyntaxException
-
- Throws:
java.net.URISyntaxException
clearValuesInternal
protected void clearValuesInternal()
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.