PeanutButter
|
Represents a pooled item of type T. More...
Public Member Functions | |
bool | TryLock (int maxWait) |
Used internally to try to lock off a pool item so it can be handed out to another consumer. |
Properties | |
T | Instance [get] |
The instance of the pooled item. | |
bool | IsAvailable [get] |
Flag: is this instance available for usage. |
Represents a pooled item of type T.
T |
bool PeanutButter.Utils.IPoolItem< T >.TryLock | ( | int | maxWait | ) |
Used internally to try to lock off a pool item so it can be handed out to another consumer.
maxWait |
Implemented in PeanutButter.Utils.PoolItem< T >.
|
get |
The instance of the pooled item.
Implemented in PeanutButter.Utils.PoolItem< T >.
|
get |
Flag: is this instance available for usage.
Implemented in PeanutButter.Utils.PoolItem< T >.