|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BulkUpdateCollectionListener
Provides collection events that signal bulk update operations.
Typically, a source collection can inform listening collections about its updates in two ways:
The latter method reduces the impact on RAM use and avoids VM thrashing, at the cost of latency while this collection gathers its updates into a batch.
Method Summary | ||
---|---|---|
void |
beginBulkUpdate(Collection collection)
Monitoried collection is beginning a bulk update. |
|
void |
endBulkUpdate(Collection collection)
Monitored collection has completed a bulk update. |
Methods inherited from interface net.rim.device.api.collection.CollectionListener |
---|
elementAdded, elementRemoved, elementUpdated, reset |
Method Detail |
---|
void beginBulkUpdate(Collection collection)
This collection should avoid commits to the persistent store if possible.
collection
- Collection beginning its bulk update.void endBulkUpdate(Collection collection)
This collection should move itself out of RAM if possible since no more updates are probably going to occur for a while.
collection
- Collection ending its bulk update.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.