com.aspire.nm.component.cmppserver.runTime.counter
类 SpeedCounter

java.lang.Object
  继承者 java.lang.Thread
      继承者 com.aspire.nm.component.cmppserver.runTime.counter.SpeedCounter
所有已实现的接口:
Runnable, org.springframework.beans.factory.InitializingBean

@Scope(value="prototype")
@Component
public class SpeedCounter
extends Thread
implements org.springframework.beans.factory.InitializingBean


嵌套类摘要
 
从类 java.lang.Thread 继承的嵌套类/接口
Thread.State, Thread.UncaughtExceptionHandler
 
字段摘要
 
从类 java.lang.Thread 继承的字段
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
构造方法摘要
SpeedCounter()
           
 
方法摘要
 void afterPropertiesSet()
           
 AtomicLong getCount()
           
 long getCountPerSec()
           
 void increment()
           
 void run()
           
 
从类 java.lang.Thread 继承的方法
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

SpeedCounter

public SpeedCounter()
方法详细信息

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
抛出:
Exception

increment

public void increment()

getCount

public AtomicLong getCount()

getCountPerSec

public long getCountPerSec()

run

public void run()
指定者:
接口 Runnable 中的 run
覆盖:
Thread 中的 run


Copyright © 2016. All rights reserved.