| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodCacher.Key
Key of a callable target.
|
protected static class |
MethodCacher.Tunnel
Mutable caching/calling tunnel, it is thread-safe.
|
| Constructor and Description |
|---|
MethodCacher()
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
cache(org.aspectj.lang.ProceedingJoinPoint point)
Call the method or fetch from cache.
|
Object |
flush(org.aspectj.lang.ProceedingJoinPoint point)
Deprecated.
Since 0.7.17, and preflush() should be used
|
void |
postflush(org.aspectj.lang.JoinPoint point)
Flush cache after method execution.
|
void |
preflush(org.aspectj.lang.JoinPoint point)
Flush cache.
|
public Object cache(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
Try NOT to change the signature of this method, in order to keep it backward compatible.
point - Joint pointThrowable - If something goes wrong inside@Deprecated public Object flush(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
point - Join pointThrowable - If something goes wrong insidepublic void preflush(org.aspectj.lang.JoinPoint point)
Try NOT to change the signature of this method, in order to keep it backward compatible.
point - Joint pointpublic void postflush(org.aspectj.lang.JoinPoint point)
Try NOT to change the signature of this method, in order to keep it backward compatible.
point - Joint pointCopyright © 2012–2021 jcabi.com. All rights reserved.