public interface JRVirtualizer
JRVirtualizationHelper
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Called when we are done with the virtualizer and wish to
cleanup any resources it has.
|
void |
clearData(JRVirtualizable o)
Called when the virtual object paged-out data should be freed.
|
void |
deregisterObject(JRVirtualizable o)
Lets this virtualizer know that it no longer must track the
object.
|
void |
registerObject(JRVirtualizable o)
Lets this virtualizer know that it must track the object.
|
void |
requestData(JRVirtualizable o)
Called when the virtual object must be paged-in.
|
void |
touch(JRVirtualizable o)
Lets the virtualizer know that this object is still being used.
|
void |
virtualizeData(JRVirtualizable o)
Called when the virtual object should be paged-out.
|
void registerObject(JRVirtualizable o)
All virtualizable object must register with their virtualizer upon construction.
void deregisterObject(JRVirtualizable o)
void touch(JRVirtualizable o)
The virtualizer gets to decide what type of caching strategy it will use.
void requestData(JRVirtualizable o)
If the object's virtual data is not paged-out, the object will only be
touched
.
void clearData(JRVirtualizable o)
If the object's virtual data is not paged-out, the object will only be
touched
.
void virtualizeData(JRVirtualizable o)
void cleanup()
Copyright © 2016. All rights reserved.