public abstract class PromiseHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PromiseHandler.FailingAction |
| Constructor and Description |
|---|
PromiseHandler() |
| Modifier and Type | Method and Description |
|---|---|
static PromiseHandler |
getInstance() |
abstract PromiseHandler.FailingAction |
promiseFailed(long availableMemory,
Scheduler.ProcessInfo pi,
long currentTotalUsedRss,
long schedulerManagedRss) |
public static PromiseHandler getInstance()
public abstract PromiseHandler.FailingAction promiseFailed(long availableMemory, Scheduler.ProcessInfo pi, long currentTotalUsedRss, long schedulerManagedRss) throws IOException, InterruptedException
availableMemory - non allocated memorypi - currentTotalUsedRss - currently used memory by all jobsschedulerManagedRss - maximum memory managed by scheduler
schedulerManagedRssIOExceptionInterruptedExceptionCopyright © 2010–2017. All rights reserved.