public class NOOPLookupCache extends java.lang.Object implements LookupCache
| Constructor and Description |
|---|
NOOPLookupCache()
Make one up.
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.repo.avm.Lookup |
lookup(AVMStore store,
int version,
SimplePath path,
boolean write,
boolean includeDeleted)
Lookup a path.
|
void |
onDelete(java.lang.String storeName)
Called when a delete has occurred in a store.
|
void |
onSnapshot(java.lang.String storeName)
Called when a snapshot occurs in a store.
|
void |
onWrite(java.lang.String storeName)
Called when a simple write operation occurs.
|
void |
reset()
Full reset of cache.
|
public org.alfresco.repo.avm.Lookup lookup(AVMStore store, int version, SimplePath path, boolean write, boolean includeDeleted)
lookup in interface LookupCachestore - The AVMStore.version - The versions.path - The path we are looking up.write - Whether this is a write lookup.includeDeleted - public void onWrite(java.lang.String storeName)
LookupCacheonWrite in interface LookupCachepublic void onDelete(java.lang.String storeName)
LookupCacheonDelete in interface LookupCachepublic void onSnapshot(java.lang.String storeName)
LookupCacheonSnapshot in interface LookupCachepublic void reset()
LookupCachereset in interface LookupCacheCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.