@ThreadSafe public final class EvictConfig extends Object implements PlanConfig
Constructor and Description |
---|
EvictConfig(long blockId,
int replicas)
Creates a new instance of
EvictConfig . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBlockId() |
String |
getName() |
int |
getReplicas() |
int |
hashCode() |
String |
toString() |
public static final String NAME
public EvictConfig(long blockId, int replicas)
EvictConfig
.blockId
- id of the block to evictreplicas
- number of replicas to evictpublic String getName()
public long getBlockId()
public int getReplicas()
Copyright © 2023. All Rights Reserved.