| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.pool.SizeOfEngineLoader
public final class SizeOfEngineLoader
| Field Summary | |
|---|---|
| static SizeOfEngineLoader | INSTANCEThe one and single instance of this class | 
| Method Summary | |
|---|---|
|  SizeOfEngine | createSizeOfEngine(int maxObjectCount,
                   boolean abort,
                   boolean silent)Creates a new instance of a SizeOfEngine | 
|  boolean | load(Class<? extends SizeOfEngineFactory> clazz,
     boolean reload)Tries to find a SizeOfEngineFactory instance that is assignable from clazz | 
| static SizeOfEngine | newSizeOfEngine(int maxObjectCount,
                boolean abort,
                boolean silent)Creates a new instance of a SizeOfEngine | 
|  void | reload()Reloads the factory using the ServiceLoader | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final SizeOfEngineLoader INSTANCE
| Method Detail | 
|---|
public static SizeOfEngine newSizeOfEngine(int maxObjectCount,
                                           boolean abort,
                                           boolean silent)
maxObjectCount - the max object graph that will be traversed.abort - true if the object traversal should be aborted when the max depth is exceededsilent - true if no info log explaining which agent was chosen should be printed
public SizeOfEngine createSizeOfEngine(int maxObjectCount,
                                       boolean abort,
                                       boolean silent)
createSizeOfEngine in interface SizeOfEngineFactorymaxObjectCount - the max object graph that will be traversed.abort - true if the object traversal should be aborted when the max depth is exceededsilent - true if no info log explaining which agent was chosen should be printed
public void reload()
public boolean load(Class<? extends SizeOfEngineFactory> clazz,
                    boolean reload)
clazz - the classreload - whether to force a reload of the ServiceLoader
| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||