public class TridentState extends Object implements ResourceDeclarer<TridentState>
Modifier | Constructor and Description |
---|---|
protected |
TridentState(TridentTopology topology,
Node node) |
Modifier and Type | Method and Description |
---|---|
Stream |
newValuesStream() |
TridentState |
parallelismHint(int parallelism) |
TridentState |
setCPULoad(Number load) |
TridentState |
setMemoryLoad(Number onHeap) |
TridentState |
setMemoryLoad(Number onHeap,
Number offHeap) |
protected TridentState(TridentTopology topology, Node node)
public Stream newValuesStream()
public TridentState parallelismHint(int parallelism)
public TridentState setCPULoad(Number load)
setCPULoad
in interface ResourceDeclarer<TridentState>
public TridentState setMemoryLoad(Number onHeap)
setMemoryLoad
in interface ResourceDeclarer<TridentState>
public TridentState setMemoryLoad(Number onHeap, Number offHeap)
setMemoryLoad
in interface ResourceDeclarer<TridentState>
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.