Package gw.lang.reflect
Class TypeSystemRefresher
- java.lang.Object
-
- gw.lang.reflect.TypeSystemRefresher
-
- All Implemented Interfaces:
ITypeSystemRefresher
public class TypeSystemRefresher extends java.lang.Object implements ITypeSystemRefresher
-
-
Field Summary
Fields Modifier and Type Field Description private static TypeSystemRefresher_instanceprivate static longKBprivate static longMB
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypeSystemRefresher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoPostRefreshCleanup()private voiddoRefresh()static TypeSystemRefreshergetInstance()private booleanisNearMemoryBoundary()voidmaybeRefresh()voidmaybeRefresh(boolean force)
-
-
-
Field Detail
-
KB
private static final long KB
- See Also:
- Constant Field Values
-
MB
private static final long MB
- See Also:
- Constant Field Values
-
_instance
private static TypeSystemRefresher _instance
-
-
Method Detail
-
getInstance
public static TypeSystemRefresher getInstance()
-
maybeRefresh
public void maybeRefresh()
- Specified by:
maybeRefreshin interfaceITypeSystemRefresher
-
maybeRefresh
public void maybeRefresh(boolean force)
- Specified by:
maybeRefreshin interfaceITypeSystemRefresher
-
doRefresh
private void doRefresh()
-
doPostRefreshCleanup
protected void doPostRefreshCleanup()
-
isNearMemoryBoundary
private boolean isNearMemoryBoundary()
-
-