org.jboss.netty.util.internal
类 SharedResourceMisuseDetector

java.lang.Object
  继承者 org.jboss.netty.util.internal.SharedResourceMisuseDetector

public class SharedResourceMisuseDetector
extends java.lang.Object

Warn when user creates too many instances to avoid OutOfMemoryError.


构造方法摘要
SharedResourceMisuseDetector(java.lang.Class<?> type)
           
 
方法摘要
 void decrease()
           
 void increase()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SharedResourceMisuseDetector

public SharedResourceMisuseDetector(java.lang.Class<?> type)
方法详细信息

increase

public void increase()

decrease

public void decrease()