- java.lang.Object
-
- com.pervasive.datarush.graphs.EngineConfig.RemoteMonitoring
-
- Enclosing class:
- EngineConfig
public static final class EngineConfig.RemoteMonitoring extends Object
Settings in this object determine settings for remote monitoring
-
-
Field Summary
Fields Modifier and Type Field Description static EngineProperty<Boolean>ENABLEDProperty that controls whether remote monitoring is enabledstatic EngineProperty<Boolean>EPHEMERAL_PORTProperty that controls whether monitoring is done via an ephemeral port.static EngineProperty<Integer>PORTProperty that controls the port to use for remote monitoring
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EngineConfigenabled(boolean enabled)Sets whether to enable remote monitoringEngineConfigephemeralPort(boolean ephemeral)Sets whether monitoring is done via an ephemeral port.intgetPort()Returns the port to use for remote monitoringbooleanisEnabled()Returns whether to enable remote monitoringbooleanisEphemeralPort()Returns whether monitoring is done via an ephemeral port.EngineConfigport(int port)Sets the port to use for remote monitoring.
-
-
-
Field Detail
-
EPHEMERAL_PORT
public static final EngineProperty<Boolean> EPHEMERAL_PORT
Property that controls whether monitoring is done via an ephemeral port. Normally this should be set to false. This is used by the launcher ui.
-
ENABLED
public static final EngineProperty<Boolean> ENABLED
Property that controls whether remote monitoring is enabled
-
PORT
public static final EngineProperty<Integer> PORT
Property that controls the port to use for remote monitoring
-
-
Method Detail
-
isEphemeralPort
public boolean isEphemeralPort()
Returns whether monitoring is done via an ephemeral port. Normally this should be set to false. This is used by the launcher ui.- Returns:
- whether monitoring is done via an ephemeral port.
-
ephemeralPort
public EngineConfig ephemeralPort(boolean ephemeral)
Sets whether monitoring is done via an ephemeral port. Normally this should be set to false. This is used by the launcher ui.- Parameters:
ephemeral- whether monitoring is done via an ephemeral port- Returns:
- a new
EngineConfigwith the settings modified
-
isEnabled
public boolean isEnabled()
Returns whether to enable remote monitoring- Returns:
- whether to enable remote monitoring
-
enabled
public EngineConfig enabled(boolean enabled)
Sets whether to enable remote monitoring- Parameters:
enabled- whether to enable remote monitoring- Returns:
- a new
EngineConfigwith the settings modified
-
getPort
public int getPort()
Returns the port to use for remote monitoring- Returns:
- the port to use for remote monitoring
-
port
public EngineConfig port(int port)
Sets the port to use for remote monitoring.- Parameters:
port- the port to use for remote monitoring.- Returns:
- a new
EngineConfigwith the settings modified
-
-