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)
IEvictionStrategyInitialization
prepare in interface IEvictionStrategypublic boolean makeSpaceForTopo(TopologyDetails td)
IEvictionStrategyThis method when invoked should attempt to make space on the cluster so that the topology specified can be scheduled
makeSpaceForTopo in interface IEvictionStrategytd - the topology to make space forCopyright © 2022 The Apache Software Foundation. All Rights Reserved.