public class VisorRestConfiguration extends VisorDataTransferObject
Constructor and Description |
---|
VisorRestConfiguration()
Default constructor.
|
VisorRestConfiguration(IgniteConfiguration c)
Create data transfer object for node REST configuration properties.
|
Modifier and Type | Method and Description |
---|---|
long |
getIdleQueryCursorCheckFrequency() |
long |
getIdleQueryCursorTimeout() |
long |
getIdleTimeout() |
String |
getJettyHost() |
String |
getJettyPath() |
Integer |
getJettyPort() |
String |
getMessageInterceptor() |
int |
getPortRange() |
int |
getReceiveBufferSize() |
String |
getSecretKey() |
int |
getSelectorCount() |
int |
getSendBufferSize() |
int |
getSendQueueLimit() |
String |
getSslFactory() |
String |
getTcpHost() |
int |
getTcpPort() |
String |
getTcpSslContextFactory() |
boolean |
isDirectBuffer() |
boolean |
isNoDelay() |
boolean |
isRestEnabled() |
boolean |
isSslClientAuth()
Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which
validity will be verified with trust manager.
|
boolean |
isTcpSslEnabled() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, writeExternal
public VisorRestConfiguration()
public VisorRestConfiguration(IgniteConfiguration c)
c
- Grid configuration.public boolean isRestEnabled()
public boolean isTcpSslEnabled()
@Nullable public String getJettyPath()
@Nullable public String getJettyHost()
@Nullable public Integer getJettyPort()
@Nullable public String getTcpHost()
public int getTcpPort()
@Nullable public String getTcpSslContextFactory()
@Nullable public String getSecretKey()
public boolean isNoDelay()
TCP_NODELAY
option should be enabled.public boolean isDirectBuffer()
public int getSendBufferSize()
public int getReceiveBufferSize()
public long getIdleQueryCursorTimeout()
public long getIdleQueryCursorCheckFrequency()
public int getSendQueueLimit()
public int getSelectorCount()
public long getIdleTimeout()
public boolean isSslClientAuth()
public String getSslFactory()
public int getPortRange()
@Nullable public String getMessageInterceptor()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- Output object to write data content.IOException
- If I/O errors occur.protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
readExternalData
in class VisorDataTransferObject
protoVer
- Input object version.in
- Input object to load data content.IOException
- If I/O errors occur.ClassNotFoundException
- If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017