com.devexperts.qd.stats
Class QDStats.SType

java.lang.Object
  extended by com.devexperts.qd.stats.QDStats.SType
Enclosing class:
QDStats

public static class QDStats.SType
extends java.lang.Object

Defines specific statistic type, including its name.


Field Summary
static QDStats.SType AGENT
           
static QDStats.SType AGENT_DATA
           
static QDStats.SType AGENT_SUB
           
static QDStats.SType ANY
          This "magic" type gathers its grand-children's stats for any type of its child.
static QDStats.SType CLIENT_SOCKET
          Deprecated. Use CLIENT_SOCKET_CONNECTOR
static QDStats.SType CLIENT_SOCKET_CONNECTOR
           
protected  java.util.List<QDStats.SType> collection_of
           
static QDStats.SType CONNECTION
           
static QDStats.SType CONNECTIONS
           
static QDStats.SType DISTRIBUTOR
           
static QDStats.SType DISTRIBUTOR_ASUB
           
static QDStats.SType DISTRIBUTOR_RSUB
           
protected  int flag
           
static QDStats.SType HISTORY
           
static QDStats.SType HTTP_CONNECTION
          Deprecated. Use CONNECTION
static QDStats.SType HTTP_CONNECTOR
           
protected  java.lang.String name
           
static QDStats.SType QD_SERVLET
           
static QDStats.SType SERVER_SOCKET
          Deprecated. Use SERVER_SOCKET_CONNECTOR
static QDStats.SType SERVER_SOCKET_CONNECTOR
           
static QDStats.SType SOCKET_CONNECTION
          Deprecated. Use CONNECTION
static QDStats.SType STORAGE_DATA
           
static QDStats.SType STREAM
           
static QDStats.SType TICKER
           
static QDStats.SType UNIQUE_SUB
           
static QDStats.SType VOID
           
 
Constructor Summary
QDStats.SType(java.lang.String name, int flag, QDStats.SType... collection_of)
           
 
Method Summary
 int getFlag()
           
 java.lang.String getName()
           
 boolean hasIO()
           
 boolean hasRid()
           
 boolean isCollectionOf(QDStats.SType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VOID

public static final QDStats.SType VOID

ANY

public static final QDStats.SType ANY
This "magic" type gathers its grand-children's stats for any type of its child. It should be used as a root only.


UNIQUE_SUB

public static final QDStats.SType UNIQUE_SUB

STORAGE_DATA

public static final QDStats.SType STORAGE_DATA

AGENT

public static final QDStats.SType AGENT

AGENT_DATA

public static final QDStats.SType AGENT_DATA

AGENT_SUB

public static final QDStats.SType AGENT_SUB

DISTRIBUTOR

public static final QDStats.SType DISTRIBUTOR

DISTRIBUTOR_ASUB

public static final QDStats.SType DISTRIBUTOR_ASUB

DISTRIBUTOR_RSUB

public static final QDStats.SType DISTRIBUTOR_RSUB

TICKER

public static final QDStats.SType TICKER

STREAM

public static final QDStats.SType STREAM

HISTORY

public static final QDStats.SType HISTORY

HTTP_CONNECTOR

public static final QDStats.SType HTTP_CONNECTOR

QD_SERVLET

public static final QDStats.SType QD_SERVLET

CLIENT_SOCKET_CONNECTOR

public static final QDStats.SType CLIENT_SOCKET_CONNECTOR

SERVER_SOCKET_CONNECTOR

public static final QDStats.SType SERVER_SOCKET_CONNECTOR

CONNECTION

public static final QDStats.SType CONNECTION

CONNECTIONS

public static final QDStats.SType CONNECTIONS

HTTP_CONNECTION

public static final QDStats.SType HTTP_CONNECTION
Deprecated. Use CONNECTION

SOCKET_CONNECTION

public static final QDStats.SType SOCKET_CONNECTION
Deprecated. Use CONNECTION

CLIENT_SOCKET

public static final QDStats.SType CLIENT_SOCKET
Deprecated. Use CLIENT_SOCKET_CONNECTOR

SERVER_SOCKET

public static final QDStats.SType SERVER_SOCKET
Deprecated. Use SERVER_SOCKET_CONNECTOR

name

protected final java.lang.String name

flag

protected final int flag

collection_of

protected final java.util.List<QDStats.SType> collection_of
Constructor Detail

QDStats.SType

public QDStats.SType(java.lang.String name,
                     int flag,
                     QDStats.SType... collection_of)
Method Detail

getName

public java.lang.String getName()

getFlag

public int getFlag()

isCollectionOf

public boolean isCollectionOf(QDStats.SType type)

hasRid

public boolean hasRid()

hasIO

public boolean hasIO()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object