public final class LaxPromiseHandler extends PromiseHandler
PromiseHandler.FailingAction| Constructor and Description |
|---|
LaxPromiseHandler() |
| Modifier and Type | Method and Description |
|---|---|
PromiseHandler.FailingAction |
promiseFailed(long availableMemory,
Scheduler.ProcessInfo pi,
long currentTotalUsedRss,
long schedulerManagedRss) |
getInstancepublic PromiseHandler.FailingAction promiseFailed(long availableMemory, Scheduler.ProcessInfo pi, long currentTotalUsedRss, long schedulerManagedRss) throws IOException, InterruptedException
promiseFailed in class PromiseHandleravailableMemory - non allocated memorycurrentTotalUsedRss - currently used memory by all jobsschedulerManagedRss - maximum memory managed by scheduler
schedulerManagedRssIOExceptionInterruptedExceptionCopyright © 2010–2017. All rights reserved.