public class ProxyCacheManagement extends CacheManagement
CacheManagement
adding new
features useful for CADIProxy.Modifier and Type | Field and Description |
---|---|
private boolean |
ALLOW_PARTIAL_PRECINCTS
This flag allows that when a precinct is partialy in the cache, the
available data is delivered to client without waiting for the remainder.
|
cacheSize, dataBinsList, FIFO, LRU, managementPolicy, maxCacheSize, NONE, removedDataBins
codestream, EXPLICIT_FORM, IMPLICIT_FORM, INDEX_RANGE, mainHeaderDataBin, metaDataBins, NO_CACHE, NUMBER_OF_BYTES, NUMBER_OF_LAYERS, precinctsDataBins, tileHeaderDataBins, WILDCARD
Constructor and Description |
---|
ProxyCacheManagement()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkAvailableData(ViewWindowField viewWindow,
java.util.ArrayList<RelevantPrecinct> relevantPrecincts,
ProxyCacheModel cacheModel,
java.util.ArrayList<SendDataInfo> availableData,
java.util.ArrayList<SendDataInfo> unAvailableData) |
ProxyJPEG2KCodestream |
getProxyJPEG2KCodestream()
Returns the
DataBinsCacheManagement.codestream attribute. |
void |
getRemainderData(ProxyCacheModel cacheModel,
java.util.ArrayList<SendDataInfo> unAvailableData) |
void |
list(java.io.PrintStream out)
Prints this Proxy Logical Target fields out to the specified output
stream.
|
java.lang.String |
toString() |
addJPIPMessage, clear, getLastLayerOfPrecinctDataBin, getMainHeader, getManagementPolicy, getMaxCacheSize, getPrecinctDataBinLength, isReady, manage, reset, setManagementPolicy, setMaxCacheSize
explicitForm, explicitForm, getCacheDescriptor, getDataBin, getDatabinLength, implicitForm, isComplete, isHeldByCurrentThread, isInCache, isLocked, keySet, lock, setJPEG2KCodestream, unlock
private boolean ALLOW_PARTIAL_PRECINCTS
public void checkAvailableData(ViewWindowField viewWindow, java.util.ArrayList<RelevantPrecinct> relevantPrecincts, ProxyCacheModel cacheModel, java.util.ArrayList<SendDataInfo> availableData, java.util.ArrayList<SendDataInfo> unAvailableData)
viewWindow
- relevantPrecincts
- cacheModel
- availableData
- unAvailableData
- public void getRemainderData(ProxyCacheModel cacheModel, java.util.ArrayList<SendDataInfo> unAvailableData)
viewWindow
- sentData
- public final ProxyJPEG2KCodestream getProxyJPEG2KCodestream()
DataBinsCacheManagement.codestream
attribute.DataBinsCacheManagement.codestream
.public java.lang.String toString()
toString
in class CacheManagement
public void list(java.io.PrintStream out)
list
in class CacheManagement
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)