パッケージ org.postgresql.util
クラス LazyCleaner
java.lang.Object
org.postgresql.util.LazyCleaner
LazyCleaner is a utility class that allows to register objects for deferred cleanup.
Note: this is a driver-internal class
-
ネストされたクラスの概要
ネストされたクラス修飾子とタイプクラス説明static interface
LazyCleaner.Cleanable<T extends Throwable>
static interface
LazyCleaner.CleaningAction<T extends Throwable>
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static LazyCleaner
Returns a default cleaner instance.int
boolean
<T extends Throwable>
LazyCleaner.Cleanable<T>register
(Object obj, LazyCleaner.CleaningAction<T> action)
-
コンストラクタの詳細
-
LazyCleaner
-
-
メソッドの詳細
-
getInstance
Returns a default cleaner instance.Note: this is driver-internal API.
- 戻り値:
- the instance of LazyCleaner
-
register
public <T extends Throwable> LazyCleaner.Cleanable<T> register(Object obj, LazyCleaner.CleaningAction<T> action) -
getWatchedCount
public int getWatchedCount() -
isThreadRunning
public boolean isThreadRunning()
-