|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.avm.LookupCache
public class LookupCache
All lookup traffic goes through here.
| Constructor Summary | |
|---|---|
LookupCache()
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()
|
void |
setAvmNodeDAO(AVMNodeDAO dao)
Set up the node dao. |
void |
setAvmStoreDAO(AVMStoreDAO dao)
Set the store dao. |
void |
setTransactionalCache(SimpleCache cache)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookupCache()
| Method Detail |
|---|
public void setAvmNodeDAO(AVMNodeDAO dao)
dao - The dao to set.public void setAvmStoreDAO(AVMStoreDAO dao)
dao - The dao to set.public void setTransactionalCache(SimpleCache cache)
public org.alfresco.repo.avm.Lookup lookup(AVMStore store,
int version,
SimplePath path,
boolean write,
boolean includeDeleted)
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)
public void onDelete(java.lang.String storeName)
public void onSnapshot(java.lang.String storeName)
public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||