|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectokuyama.imdst.util.JavaSystemApi
public class JavaSystemApi
システム系のApiに対してアクセスする.
フィールドの概要 | |
---|---|
static int |
currentDateHour
|
static long |
currentTimeMillis
|
コンストラクタの概要 | |
---|---|
JavaSystemApi()
|
メソッドの概要 | |
---|---|
static void |
autoGc()
自動でgcを発行する. |
static int |
getAvailableProcessors()
|
static long |
getRuntimeFreeMem()
|
static long |
getRuntimeFreeMem(java.lang.String format)
現在のJVMに割り当ててあるFreeMemoryを取得する |
static long |
getRuntimeMaxMem()
|
static long |
getRuntimeMaxMem(java.lang.String format)
現在のJVMに割り当ててあるMaxMemoryを取得する |
static long |
getRuntimeTotalMem()
|
static long |
getRuntimeTotalMem(java.lang.String format)
現在のJVMに割り当ててあるTotalMemoryを取得する |
static int |
getUseMemoryPercent()
|
static int |
getUseMemoryPercentCache()
|
static void |
manualGc()
手動でgcを発行する. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static transient long currentTimeMillis
public static transient int currentDateHour
コンストラクタの詳細 |
---|
public JavaSystemApi()
メソッドの詳細 |
---|
public static void autoGc()
public static void manualGc()
public static long getRuntimeMaxMem()
public static long getRuntimeMaxMem(java.lang.String format)
format
- フォーマット指定 ""=バイト, "K"=キロバイト, "M"=メガバイト, "G"=ギガバイト
public static long getRuntimeTotalMem()
public static long getRuntimeTotalMem(java.lang.String format)
format
- フォーマット指定 getRuntimeMaxMemと同様
public static long getRuntimeFreeMem()
public static long getRuntimeFreeMem(java.lang.String format)
format
- フォーマット指定 getRuntimeMaxMemと同様
public static int getUseMemoryPercent()
public static int getUseMemoryPercentCache()
public static int getAvailableProcessors()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |