|
Field Summary | ||
static String |
KBYTES_MESSAGE | |
static String |
OPT_MAX_PAGES | |
static String |
OPT_MAX_SOURCE_SIZE_K_BYTES | |
static String |
OPT_PAGE_LIMIT | |
static String |
OPT_READ_LIMIT_K_BYTES | |
static String |
OPT_READ_LIMIT_TIME_MS | |
static String |
OPT_TIMEOUT_MS | |
static String |
PAGES_MESSAGE | |
static String |
TIME_MESSAGE |
Constructor Summary | ||
TransformationOptionLimits() |
Method Summary | ||
combine(TransformationOptionLimits that) Returns a TransformationOptionLimits that has getter methods that combine the the values from the getter methods of this and the supplied TransformationOptionLimits. |
||
combineUpper(TransformationOptionLimits that) Returns a TransformationOptionLimits that has getter methods that combine the the values from the getter methods of this and the supplied TransformationOptionLimits so that they return the lowest common denominator of the limits . |
||
void |
defaultTo(TransformationOptionLimits limits) This method overrides rather than defaults values into the supplied limits (as the name might suggest), but because of the order in which it is called, this results in the correct defaults being set. |
|
boolean |
equals(Object obj) | |
getKBytesPair() | ||
int |
getMaxPages() | |
long |
getMaxSourceSizeKBytes() | |
int |
getPageLimit() | |
getPagesPair() | ||
long |
getReadLimitKBytes() | |
long |
getReadLimitTimeMs() | |
long |
getTimeoutMs() | |
getTimePair() | ||
int |
hashCode() | |
removeFromMap(Map<String,Object> optionsMap) | ||
void |
set(Map<String,Object> optionsMap) | |
void |
setMaxPages(int maxPages) | |
void |
setMaxSourceSizeKBytes(long maxSourceSizeKBytes) | |
void |
setPageLimit(int pageLimit) | |
void |
setReadLimitKBytes(long readLimitKBytes) | |
void |
setReadLimitTimeMs(long readLimitTimeMs) | |
void |
setTimeoutMs(long timeoutMs) | |
boolean |
supported() Indicates if the limits allow a transformation to take place at all. |
|
toMap(Map<String,Object> optionsMap) | ||
toString() |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
A call to this method overrides any values in the supplied limits parameter with those in this Object. The supplied limits parameter is being gradually built up by initially setting the most general limits and then more specific values for each level. As a result 'default' values from the more general levels will still exist at the end if more specific ones have not been supplied.
|