public class BlockingWorkerAspect extends Object
| Constructor and Description |
|---|
BlockingWorkerAspect() |
| Modifier and Type | Method and Description |
|---|---|
Object |
around(org.aspectj.lang.ProceedingJoinPoint pjp,
BlockingWorker blockingWorker)
Adds code around all methods annotated with @BlockingWorker.
|
void |
beforeStartupFeature(Server server)
Capture Helix server reference on BlockingWorkerFeature creation
|
static boolean |
onWorkerThread() |
public void beforeStartupFeature(Server server)
server - Helix server@Suspendable public Object around(org.aspectj.lang.ProceedingJoinPoint pjp, BlockingWorker blockingWorker) throws Throwable, co.paralleluniverse.fibers.SuspendExecution
Throwableco.paralleluniverse.fibers.SuspendExecutionpublic static boolean onWorkerThread()
Copyright © 2016. All rights reserved.