|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.internal.OperationBatcher
org.rococoa.internal.AutoreleaseBatcher
public class AutoreleaseBatcher
Used by NSObjectInvocationHandler to make sure that there is an NSAutoreleasePool available when NSObject's are finalized, but not pay the price of creating one per call. Take care, this is tested but unproven code (2009/08).
Constructor Summary | |
---|---|
AutoreleaseBatcher(int batchSize)
|
Method Summary | |
---|---|
static AutoreleaseBatcher |
forThread(int batchSize)
|
protected void |
operation()
|
protected void |
reset()
|
Methods inherited from class org.rococoa.internal.OperationBatcher |
---|
close, operate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoreleaseBatcher(int batchSize)
Method Detail |
---|
public static AutoreleaseBatcher forThread(int batchSize)
protected void operation()
operation
in class OperationBatcher
protected void reset()
reset
in class OperationBatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |