|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.avm.TransactionalLookupCache
public class TransactionalLookupCache
A Transactional? implementation of AVM path lookup cache
Constructor Summary | |
---|---|
TransactionalLookupCache()
Deprecated. Make one up. |
Method Summary | |
---|---|
void |
afterPropertiesSet()
Deprecated. |
org.alfresco.repo.avm.Lookup |
lookup(AVMStore store,
int version,
SimplePath path,
boolean write,
boolean includeDeleted)
Deprecated. Lookup a path. |
void |
onDelete(java.lang.String storeName)
Deprecated. Called when a delete has occurred in a store. |
void |
onSnapshot(java.lang.String storeName)
Deprecated. Called when a snapshot occurs in a store. |
void |
onWrite(java.lang.String storeName)
Deprecated. Called when a simple write operation occurs. |
void |
reset()
Deprecated. Full reset of cache. |
void |
setAvmNodeDAO(AVMNodeDAO dao)
Deprecated. Set up the node dao. |
void |
setAvmStoreDAO(AVMStoreDAO dao)
Deprecated. Set the store dao. |
void |
setTransactionalCache(org.alfresco.repo.cache.SimpleCache cache)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionalLookupCache()
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(org.alfresco.repo.cache.SimpleCache cache)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
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)
onWrite
in interface LookupCache
public void onDelete(java.lang.String storeName)
onDelete
in interface LookupCache
public void onSnapshot(java.lang.String storeName)
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 |