public class WriteQueueAspect extends Object
Constructor and Description |
---|
WriteQueueAspect() |
WriteQueueAspect(int threads) |
Modifier and Type | Method and Description |
---|---|
int |
cacheSize() |
Identified |
getObject(org.aspectj.lang.ProceedingJoinPoint pjp)
Handle a 'get by T2Reference' operation on a Dao
|
void |
putObject(org.aspectj.lang.ProceedingJoinPoint pjp)
Called around a write or update operation on the backing store, writes
through to the cache after modifying the state of the backing store and
before returning from the dao method
|
public WriteQueueAspect()
public WriteQueueAspect(int threads)
public final Identified getObject(org.aspectj.lang.ProceedingJoinPoint pjp) throws DaoException
pjp
- the join point representing the ongoing method call to the daoDaoException
- if anything goes wrongpublic void putObject(org.aspectj.lang.ProceedingJoinPoint pjp) throws DaoException
pjp
- join point representing the ongoing method invocation to cacheDaoException
- if anything goes wrongpublic int cacheSize()
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.