TileCache
provides a mechanism by which an OpImage
may cache its computed tiles. There may be multiple TileCache
s used in an application up to the point of having a different TileCache
for each OpImage
.
The TileCache
used for a particular OpImage
is derived from the RenderingHints
assigned to the associated imaging chain node. If the node is constructed using JAI.create()
and no TileCache
is specified in the RenderingHints
parameter, then one is derived from the RenderingHints
associated with the instance of the JAI
class being used.
In the Sun reference implementation, the cache size is limited by the memory capacity, which is set to a default value at construction or subsequently using the setMemoryCapacity()
method. The initial value may be obtained using getMemoryCapacity()
. The tile capacity is not used as different images may have very different tile sizes so that this metric is not a particularly meaningful control of memory resource consumption in general.
@see JAI
@see RenderedOp
@see java.awt.RenderingHints
TileCache
provides a mechanism by which an OpImage
may cache its computed tiles. There may be multiple TileCache
s used in an application up to the point of having a different TileCache
for each OpImage
.
The TileCache
used for a particular OpImage
is derived from the RenderingHints
assigned to the associated imaging chain node. If the node is constructed using JAI.create()
and no TileCache
is specified in the RenderingHints
parameter, then one is derived from the RenderingHints
associated with the instance of the JAI
class being used.
In the Sun reference implementation, the cache size is limited by the memory capacity, which is set to a default value at construction or subsequently using the setMemoryCapacity()
method. The initial value may be obtained using getMemoryCapacity()
. The tile capacity is not used as different images may have very different tile sizes so that this metric is not a particularly meaningful control of memory resource consumption in general.
@see JAI
@see RenderedOp
@see java.awt.RenderingHints
|
|
|
|
|
|
|
|
|
|
|
|