public interface ObjectFactory
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
createObject()
Create object if unavaliable
|
void |
destroyObject(Object o)
Close/Release a object and remove it from the pool.
|
default boolean |
testObject(Object o)
Validate/Test a object if valid/actived/opened or not.
|
Copyright © 2020. All rights reserved.