Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.net
Class DatagramTest.PublisherConfig

java.lang.Object
  extended by com.tangosol.net.DatagramTest.TestConfiguration
      extended by com.tangosol.net.DatagramTest.PublisherConfig
Enclosing class:
DatagramTest

public static class DatagramTest.PublisherConfig
extends DatagramTest.TestConfiguration

Holder for Publisher configuration.


Field Summary
protected  java.net.InetSocketAddress[] m_aAddrPeer
           
protected  long m_cDurationLimitMs
           
protected  int m_cIterationLimit
           
protected  int m_cRate
           
 
Fields inherited from class com.tangosol.net.DatagramTest.TestConfiguration
m_cbPacket, m_cbPayload, m_cBufferPackets, m_cProcessPacketBytes, m_cReportInterval, m_cTickInterval
 
Constructor Summary
DatagramTest.PublisherConfig()
           
 
Method Summary
 boolean check()
          Check that the contained configuration is valid.
 java.net.InetSocketAddress[] getAddrPeers()
          Accessor for AddrPeers.
 long getDurationLimitMs()
          Accessor for DurationLimitMs
 int getIterationLimit()
          Accessor for Iterations
 int getRate()
          Accessor for rate
 void setAddrPeers(java.net.InetSocketAddress[] aAddrPeer)
          Mutator for AddrPeers.
 void setDurationLimitMs(long cDurationMs)
          Mutator for DurationLimitMs
 void setIterationLimit(int cIterations)
          Mutator for Iterations
 void setRate(int cRate)
          Mutator for rate
 java.lang.String toString()
          Return a human readable description of the configuration.
 
Methods inherited from class com.tangosol.net.DatagramTest.TestConfiguration
getBufferPackets, getPacketSize, getPayload, getProcessPacketBytes, getReportInterval, getTickInterval, setBufferPackets, setPacketSize, setPayload, setProcessPacketBytes, setReportInterval, setTickInterval
 

Field Detail

m_aAddrPeer

protected java.net.InetSocketAddress[] m_aAddrPeer

m_cRate

protected int m_cRate

m_cIterationLimit

protected int m_cIterationLimit

m_cDurationLimitMs

protected long m_cDurationLimitMs
Constructor Detail

DatagramTest.PublisherConfig

public DatagramTest.PublisherConfig()
Method Detail

toString

public java.lang.String toString()
Return a human readable description of the configuration.

Overrides:
toString in class DatagramTest.TestConfiguration
Returns:
a human readable description of the configuration

check

public boolean check()
Check that the contained configuration is valid.

Overrides:
check in class DatagramTest.TestConfiguration
Returns:
true if valid false otherwise

getAddrPeers

public java.net.InetSocketAddress[] getAddrPeers()
Accessor for AddrPeers.


setAddrPeers

public void setAddrPeers(java.net.InetSocketAddress[] aAddrPeer)
Mutator for AddrPeers.


getRate

public int getRate()
Accessor for rate


setRate

public void setRate(int cRate)
Mutator for rate


getIterationLimit

public int getIterationLimit()
Accessor for Iterations


setIterationLimit

public void setIterationLimit(int cIterations)
Mutator for Iterations


getDurationLimitMs

public long getDurationLimitMs()
Accessor for DurationLimitMs


setDurationLimitMs

public void setDurationLimitMs(long cDurationMs)
Mutator for DurationLimitMs


Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.