Package org.aspectj.weaver.tools.cache
Klasse AbstractIndexedFileCacheBacking
java.lang.Object
org.aspectj.weaver.tools.cache.AbstractCacheBacking
org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
- Alle implementierten Schnittstellen:
CacheBacking
- Bekannte direkte Unterklassen:
AsynchronousFileCacheBacking,DefaultFileCacheBacking
Uses an
index file to keep track of the cached entries-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classThe default index entry in the index file -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected static final AbstractIndexedFileCacheBacking.IndexEntry[]protected static final String[]static final StringDefault name of cache index file - assumed to containAbstractIndexedFileCacheBacking.IndexEntry-sVon Klasse geerbte Felder org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
WEAVED_CLASS_CACHE_DIRVon Klasse geerbte Felder org.aspectj.weaver.tools.cache.AbstractCacheBacking
logger -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic final AbstractIndexedFileCacheBacking.IndexEntrycreateIndexEntry(CachedClassEntry classEntry, byte[] originalBytes) protected abstract Map<String,AbstractIndexedFileCacheBacking.IndexEntry> getIndex()String[]Return a list of keys which match the given regex.protected Map<String,AbstractIndexedFileCacheBacking.IndexEntry> protected Map<String,AbstractIndexedFileCacheBacking.IndexEntry> protected voidprotected voidwriteIndex(File file) protected voidwriteIndex(File indexFile, Collection<? extends AbstractIndexedFileCacheBacking.IndexEntry> entries) protected voidwriteIndex(File indexFile, Map<String, ? extends AbstractIndexedFileCacheBacking.IndexEntry> index) protected voidwriteIndex(File indexFile, AbstractIndexedFileCacheBacking.IndexEntry... entries) Von Klasse geerbte Methoden org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
close, close, delete, getCacheDirectory, writeClassBytesVon Klasse geerbte Methoden org.aspectj.weaver.tools.cache.AbstractCacheBacking
crcVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.weaver.tools.cache.CacheBacking
clear, get, put, remove
-
Felddetails
-
INDEX_FILE
Default name of cache index file - assumed to containAbstractIndexedFileCacheBacking.IndexEntry-s- Siehe auch:
-
EMPTY_INDEX
-
EMPTY_KEYS
-
-
Konstruktordetails
-
AbstractIndexedFileCacheBacking
-
-
Methodendetails
-
getIndexFile
-
getKeys
Beschreibung aus Schnittstelle kopiert:CacheBackingReturn a list of keys which match the given regex.- Gibt zurück:
-
readIndex
-
writeIndex
protected void writeIndex() -
writeIndex
-
getIndex
-
readIndex
protected Map<String,AbstractIndexedFileCacheBacking.IndexEntry> readIndex(File cacheDir, File cacheFile) -
resolveIndexMapEntry
protected AbstractIndexedFileCacheBacking.IndexEntry resolveIndexMapEntry(File cacheDir, AbstractIndexedFileCacheBacking.IndexEntry ie) -
readIndex
-
writeIndex
protected void writeIndex(File indexFile, Map<String, ? extends AbstractIndexedFileCacheBacking.IndexEntry> index) throws IOException- Löst aus:
IOException
-
writeIndex
protected void writeIndex(File indexFile, AbstractIndexedFileCacheBacking.IndexEntry... entries) throws IOException - Löst aus:
IOException
-
writeIndex
protected void writeIndex(File indexFile, Collection<? extends AbstractIndexedFileCacheBacking.IndexEntry> entries) throws IOException - Löst aus:
IOException
-
createIndexEntry
public static final AbstractIndexedFileCacheBacking.IndexEntry createIndexEntry(CachedClassEntry classEntry, byte[] originalBytes)
-