mn.foreman.api.endpoints.csp.cpower.CPower Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-api Show documentation
Show all versions of java-api Show documentation
A library for interacting with the Foreman API.
package mn.foreman.api.endpoints.csp.cpower;
import java.util.Optional;
/** Endpoints for CPower-related processing. */
public interface CPower {
/**
* Updates the state in Foreman.
*
* @param sixSecondBasePoint The 6 second base point.
* @param fiveMinuteBasePoint The 5 minute base point.
* @param realtimeLoad The realtime load.
*
* @return The current load.
*/
Optional updateState(
double sixSecondBasePoint,
double fiveMinuteBasePoint,
double realtimeLoad);
}