Package com.onec.cluster.pg
Class OnecClusterProperties
java.lang.Object
com.onec.cluster.pg.OnecClusterProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidsetChannel(String channel) voidsetEnabled(boolean enabled) voidsetMaxPayloadBytes(int maxPayloadBytes) voidvoidsetPollTimeout(Duration pollTimeout) voidsetReconnectBackoffMax(Duration reconnectBackoffMax)
-
Constructor Details
-
OnecClusterProperties
public OnecClusterProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getChannel
-
setChannel
-
getNodeId
-
setNodeId
-
getPollTimeout
-
setPollTimeout
-
getReconnectBackoffMax
-
setReconnectBackoffMax
-
getMaxPayloadBytes
public int getMaxPayloadBytes() -
setMaxPayloadBytes
public void setMaxPayloadBytes(int maxPayloadBytes)
-