public class ProxyCacheModel extends CacheModel
It extends the basic cache model offering an extended interface with new methods.
codestream, mainHeaderBinDescriptor, precinctDataBins, tileHeaderDataBin
Constructor and Description |
---|
ProxyCacheModel(ProxyJPEG2KCodestream codestream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
list(java.io.PrintStream out)
Prints this Server Cache Model and Preferences fields out to the
specified output stream.
|
void |
reset()
Resets the variables to its initials values.
|
java.lang.String |
toString() |
void |
update(java.util.ArrayList<ModelElement> model)
Updates the cache.
|
void |
update(java.util.ArrayList<ModelElement> model,
ProxyCacheManagement cache) |
getDataBinLength, getMainHeaderLength, getPrecinctDataBinLayers, getPrecinctDataBinLength, getTileHeaderDataBinLength, update, update, update, update, update, update
public ProxyCacheModel(ProxyJPEG2KCodestream codestream)
codestream
- public void update(java.util.ArrayList<ModelElement> model)
CacheModel
update
in class CacheModel
model
- public void update(java.util.ArrayList<ModelElement> model, ProxyCacheManagement cache)
model
- public void reset()
reset
in class CacheModel
public java.lang.String toString()
toString
in class CacheModel
public void list(java.io.PrintStream out)
list
in class CacheModel
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)