public class BrooklynGarbageCollector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Boolean> |
CHECK_SUBTASK_SUBMITTERS
should we check for tasks which are submitted by another but backgrounded, i.e.
|
static ConfigKey<java.lang.Boolean> |
DO_SYSTEM_GC |
static ConfigKey<Duration> |
GC_PERIOD |
static ConfigKey<Duration> |
MAX_TASK_AGE |
static ConfigKey<java.lang.Integer> |
MAX_TASKS_GLOBAL |
static ConfigKey<java.lang.Integer> |
MAX_TASKS_PER_ENTITY |
static ConfigKey<java.lang.Integer> |
MAX_TASKS_PER_TAG |
Constructor and Description |
---|
BrooklynGarbageCollector(BrooklynProperties brooklynProperties,
BasicExecutionManager executionManager,
BrooklynStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
deleteTasksForEntity(Entity entity) |
void |
gcIteration()
force a round of Brooklyn garbage collection
|
java.lang.String |
getUsageString() |
void |
logUsage(java.lang.String prefix) |
static java.lang.String |
makeBasicUsageString() |
void |
onTaskDone(Task<?> task) |
void |
onUnmanaged(Entity entity) |
void |
onUnmanaged(Location loc) |
boolean |
shouldDeleteTask(Task<?> task)
Deprecated.
since 0.7.0, method moved internal until semantics are clarified; see also
shouldDeleteTaskImmediately(Task) |
void |
shutdownNow() |
public static final ConfigKey<java.lang.Boolean> DO_SYSTEM_GC
@Beta public static final ConfigKey<java.lang.Boolean> CHECK_SUBTASK_SUBMITTERS
public static final ConfigKey<java.lang.Integer> MAX_TASKS_PER_TAG
public static final ConfigKey<java.lang.Integer> MAX_TASKS_PER_ENTITY
public static final ConfigKey<java.lang.Integer> MAX_TASKS_GLOBAL
public BrooklynGarbageCollector(BrooklynProperties brooklynProperties, BasicExecutionManager executionManager, BrooklynStorage storage)
public void gcIteration()
public void logUsage(java.lang.String prefix)
public static java.lang.String makeBasicUsageString()
public java.lang.String getUsageString()
public void shutdownNow()
public void onUnmanaged(Entity entity)
public void deleteTasksForEntity(Entity entity)
public void onUnmanaged(Location loc)
public void onTaskDone(Task<?> task)
@Deprecated public boolean shouldDeleteTask(Task<?> task)
shouldDeleteTaskImmediately(Task)