public class DefaultEvictionStrategy extends Object implements IEvictionStrategy
Constructor and Description |
---|
DefaultEvictionStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
makeSpaceForTopo(TopologyDetails td)
This method when invoked should attempt to make space on the cluster so that the topology specified can be scheduled
|
void |
prepare(SchedulingState schedulingState)
Initialization
|
public void prepare(SchedulingState schedulingState)
IEvictionStrategy
Initialization
prepare
in interface IEvictionStrategy
public boolean makeSpaceForTopo(TopologyDetails td)
IEvictionStrategy
This method when invoked should attempt to make space on the cluster so that the topology specified can be scheduled
makeSpaceForTopo
in interface IEvictionStrategy
td
- the topology to make space forCopyright © 2019 The Apache Software Foundation. All Rights Reserved.