Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.vcs.spi
Class VCSURLBasedCache

java.lang.Object
  extended by java.util.Observable
      extended by 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

Constructor Summary
VCSURLBasedCache()
           
 
Method Summary
 void addCacheListener(VCSURLBasedCacheListener l)
           
<V> V
callUnderWriteLock(java.util.concurrent.Callable<V> callable)
           
 void clearValue(java.net.URL url)
           
 void clearValues()
           
 void clearValues(java.net.URL[] urls)
           
 void clearValues(URLFilter filter)
           
protected  void clearValues(URLFilter filter, boolean invalidate)
           
protected  void clearValuesInternal()
           
protected  java.lang.Object[] createValueArray(int length)
           
 java.lang.Object getValue(java.net.URL url)
           
protected  java.lang.Object getValueInternal(java.net.URL url)
           
protected  java.lang.Object getValueInternal(VCSHashURL url)
           
 java.lang.Object[] getValues(java.net.URL[] urls)
           
 java.lang.Object[] getValuesImpl(java.net.URL[] urls)
           
protected abstract  void getValuesImpl(java.net.URL[] urls, java.lang.Object[] values)
           
protected  void putValueInternal(java.net.URL url, java.lang.Object value)
           
protected  void putValueInternal(VCSHashURL url, java.lang.Object value)
           
 void removeCacheListener(VCSURLBasedCacheListener l)
           
 void runUnderWriteLock(java.lang.Runnable runnable)
           
 java.net.URL[] searchValues(URLFilter filter)
           
 
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

VCSURLBasedCache

public VCSURLBasedCache()
Method Detail

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()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.