Class HandlePool<T>
java.lang.Object
dev.engine.core.handle.HandlePool<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HandlePool
public HandlePool() -
HandlePool
-
-
Method Details
-
allocate
-
release
-
allocatedCount
public int allocatedCount()Returns the number of currently allocated (not yet released) handles. -
reportLeaks
public int reportLeaks()Logs a warning if any handles are still allocated. Call from device.close().- Returns:
- the number of leaked handles
-
isValid
-