|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.avm.NOOPLookupCache
public class NOOPLookupCache
A NO-OP implementation of AVM path lookup cache
Constructor Summary | |
---|---|
NOOPLookupCache()
Make one up. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NOOPLookupCache()
Method Detail |
---|
public org.alfresco.repo.avm.Lookup lookup(AVMStore store, int version, SimplePath path, boolean write, boolean includeDeleted)
lookup
in interface LookupCache
store
- 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)
LookupCache
onWrite
in interface LookupCache
public void onDelete(java.lang.String storeName)
LookupCache
onDelete
in interface LookupCache
public void onSnapshot(java.lang.String storeName)
LookupCache
onSnapshot
in interface LookupCache
public void reset()
LookupCache
reset
in interface LookupCache
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |