StatusCache
.@Deprecated
public abstract class VCSURLBasedCache
extends java.util.Observable
Constructor and Description |
---|
VCSURLBasedCache()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addCacheListener(VCSURLBasedCacheListener l)
Deprecated.
|
<V> V |
callUnderWriteLock(java.util.concurrent.Callable<V> callable)
Deprecated.
|
void |
clearValue(java.net.URL url)
Deprecated.
|
void |
clearValues()
Deprecated.
|
void |
clearValues(java.net.URL[] urls)
Deprecated.
|
void |
clearValues(URLFilter filter)
Deprecated.
|
protected void |
clearValues(URLFilter filter,
boolean invalidate)
Deprecated.
|
protected void |
clearValuesInternal()
Deprecated.
|
protected java.lang.Object[] |
createValueArray(int length)
Deprecated.
|
void |
dispose()
Deprecated.
|
java.lang.Object |
getValue(java.net.URL url)
Deprecated.
|
protected java.lang.Object |
getValueInternal(java.net.URL url)
Deprecated.
|
protected java.lang.Object |
getValueInternal(VCSHashURL url)
Deprecated.
|
java.lang.Object[] |
getValues(java.net.URL[] urls)
Deprecated.
|
java.lang.Object[] |
getValuesImpl(java.net.URL[] urls)
Deprecated.
|
protected abstract void |
getValuesImpl(java.net.URL[] urls,
java.lang.Object[] values)
Deprecated.
|
boolean |
isLocalCache()
Deprecated.
|
VCSURLBasedCache |
newLocalCache()
Deprecated.
|
protected void |
putValueInternal(java.net.URL url,
java.lang.Object value)
Deprecated.
|
protected void |
putValueInternal(VCSHashURL url,
java.lang.Object value)
Deprecated.
|
void |
removeCacheListener(VCSURLBasedCacheListener l)
Deprecated.
|
void |
runUnderWriteLock(java.lang.Runnable runnable)
Deprecated.
|
java.net.URL[] |
searchValues(URLFilter filter)
Deprecated.
|
public final void addCacheListener(VCSURLBasedCacheListener l)
public final void removeCacheListener(VCSURLBasedCacheListener l)
public java.lang.Object getValue(java.net.URL url) throws java.lang.Exception
java.lang.Exception
public java.lang.Object[] getValues(java.net.URL[] urls) throws java.lang.Exception
java.lang.Exception
public void clearValues()
public void clearValue(java.net.URL url)
public void clearValues(java.net.URL[] urls)
public void clearValues(URLFilter filter)
protected void clearValues(URLFilter filter, boolean invalidate)
public java.net.URL[] searchValues(URLFilter filter)
public final java.lang.Object[] getValuesImpl(java.net.URL[] urls) throws java.lang.Exception
java.lang.Exception
public final void runUnderWriteLock(java.lang.Runnable runnable)
public final <V> V callUnderWriteLock(java.util.concurrent.Callable<V> callable) throws java.lang.Exception
java.lang.Exception
protected abstract void getValuesImpl(java.net.URL[] urls, java.lang.Object[] values) throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] createValueArray(int length)
protected java.lang.Object getValueInternal(java.net.URL url)
protected java.lang.Object getValueInternal(VCSHashURL url)
protected void putValueInternal(java.net.URL url, java.lang.Object value)
protected void putValueInternal(VCSHashURL url, java.lang.Object value)
protected void clearValuesInternal()
public void dispose()
public VCSURLBasedCache newLocalCache()
public boolean isLocalCache()