Class HttpServer
- java.lang.Object
-
- com.suse.salt.netapi.datatypes.cherrypy.HttpServer
-
public class HttpServer extends java.lang.Object
Representation of HTTP server statistics.
-
-
Field Summary
Fields Modifier and Type Field Description private int
accepts
private double
acceptsPerSecond
private java.lang.String
bindAddress
private int
bytesRead
private int
bytesWritten
private boolean
enable
private int
queue
private int
readThroughput
private int
requests
private int
runTime
private int
socketErrors
private int
threads
private int
threadsIdle
private java.util.Map<java.lang.String,ServerThread>
workerThreads
private int
workTime
private double
writeThroughput
-
Constructor Summary
Constructors Constructor Description HttpServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAccepts()
double
getAcceptsPerSecond()
java.lang.String
getBindAddress()
int
getBytesRead()
int
getBytesWritten()
int
getQueue()
int
getReadThroughput()
int
getRequests()
int
getRunTime()
int
getSocketErrors()
int
getThreads()
int
getThreadsIdle()
java.util.Map<java.lang.String,ServerThread>
getWorkerThreads()
int
getWorkTime()
double
getWriteThroughput()
boolean
isEnable()
-
-
-
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()
-
-