Skip navigation links 
 
oracle.jdeveloper.java.provider
Class CachedFileProvider.SourceFileTracker
java.lang.Object
  
oracle.jdeveloper.java.provider.CachedFileProvider.SourceFileTracker
- All Implemented Interfaces:
 
- SourceFileListener
 
- Enclosing class:
 
- CachedFileProvider
 
- 
protected class CachedFileProvider.SourceFileTracker
 
- extends java.lang.Object
 
- implements SourceFileListener
 
The SourceFileTracker just listens to SourceFile instances that we create/cache, expiring them from our cache when they get modified outside of a transaction.
 
 
  
 
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
CachedFileProvider.SourceFileTracker
protected CachedFileProvider.SourceFileTracker(SourceFile sourceFile,
                                               java.net.URL sourceURL)
expiredUpdate
public void expiredUpdate(SourceFile file)
- Description copied from interface: 
SourceFileListener 
- The originating SourceFile instance has expired and is now invalid. No further updates will be sent on this SourceFile.
 
- 
- Specified by:
 
expiredUpdate in interface SourceFileListener 
 
changeUpdate
public void changeUpdate(SourceFile file,
                         SourceTransaction transaction)
- Description copied from interface: 
SourceFileListener 
- A transaction was committed against this source file. The details of the changes may be retrieved from the transaction. Empty transactions will not cause a change update to be sent. Clients may NOT assume that updates are sent on the UI thread. Updates are sent on the thread that committed the transaction.
 
- 
- Specified by:
 
changeUpdate in interface SourceFileListener 
 
- 
transaction - A committed transaction. 
 
Skip navigation links 
 
Copyright © 1997, 2014, Oracle. All rights reserved.