public interface ResourceDeclarer<T extends ResourceDeclarer>
This is a new base interface that can be used by anything that wants to mirror RAS’s basic API. Trident uses this to allow setting resources in the Stream API.
Modifier and Type | Method and Description |
---|---|
T |
setCPULoad(Number amount) |
T |
setMemoryLoad(Number onHeap) |
T |
setMemoryLoad(Number onHeap,
Number offHeap) |
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.