Class HttpServer
- java.lang.Object
-
- com.suse.salt.netapi.datatypes.cherrypy.HttpServer
-
public class HttpServer extends java.lang.ObjectRepresentation of HTTP server statistics.
-
-
Field Summary
Fields Modifier and Type Field Description private intacceptsprivate doubleacceptsPerSecondprivate java.lang.StringbindAddressprivate intbytesReadprivate intbytesWrittenprivate booleanenableprivate intqueueprivate intreadThroughputprivate intrequestsprivate intrunTimeprivate intsocketErrorsprivate intthreadsprivate intthreadsIdleprivate java.util.Map<java.lang.String,ServerThread>workerThreadsprivate intworkTimeprivate doublewriteThroughput
-
Constructor Summary
Constructors Constructor Description HttpServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAccepts()doublegetAcceptsPerSecond()java.lang.StringgetBindAddress()intgetBytesRead()intgetBytesWritten()intgetQueue()intgetReadThroughput()intgetRequests()intgetRunTime()intgetSocketErrors()intgetThreads()intgetThreadsIdle()java.util.Map<java.lang.String,ServerThread>getWorkerThreads()intgetWorkTime()doublegetWriteThroughput()booleanisEnable()
-
-
-
Field Detail
-
bytesRead
@SerializedName("Bytes Read") private int bytesRead
-
acceptsPerSecond
@SerializedName("Accepts/sec") private double acceptsPerSecond
-
socketErrors
@SerializedName("Socket Errors") private int socketErrors
-
accepts
@SerializedName("Accepts") private int accepts
-
threadsIdle
@SerializedName("Threads Idle") private int threadsIdle
-
enable
@SerializedName("Enabled") private boolean enable
-
bindAddress
@SerializedName("Bind Address") private java.lang.String bindAddress
-
readThroughput
@SerializedName("Read Throughput") private int readThroughput
-
queue
@SerializedName("Queue") private int queue
-
runTime
@SerializedName("Run time") private int runTime
-
workerThreads
@SerializedName("Worker Threads") private java.util.Map<java.lang.String,ServerThread> workerThreads
-
threads
@SerializedName("Threads") private int threads
-
bytesWritten
@SerializedName("Bytes Written") private int bytesWritten
-
requests
@SerializedName("Requests") private int requests
-
workTime
@SerializedName("Work Time") private int workTime
-
writeThroughput
@SerializedName("Write Throughput") private double writeThroughput
-
-
Method Detail
-
getBytesRead
public int getBytesRead()
-
getAcceptsPerSecond
public double getAcceptsPerSecond()
-
getSocketErrors
public int getSocketErrors()
-
getAccepts
public int getAccepts()
-
getThreadsIdle
public int getThreadsIdle()
-
isEnable
public boolean isEnable()
-
getBindAddress
public java.lang.String getBindAddress()
-
getReadThroughput
public int getReadThroughput()
-
getQueue
public int getQueue()
-
getRunTime
public int getRunTime()
-
getWorkerThreads
public java.util.Map<java.lang.String,ServerThread> getWorkerThreads()
-
getThreads
public int getThreads()
-
getBytesWritten
public int getBytesWritten()
-
getRequests
public int getRequests()
-
getWorkTime
public int getWorkTime()
-
getWriteThroughput
public double getWriteThroughput()
-
-