org.alfresco.repo.content.metadata
Class MetadataExtracterLimits
org.alfresco.repo.content.metadata.MetadataExtracterLimits
public class MetadataExtracterLimits
Represents maximum values (that result in exceptions if exceeded) or
limits on values (that result in EOF (End Of File) being returned
early). The only current option is for elapsed time.
Author:
-
Ray Gauss II
Method Summary |
long |
getTimeoutMs() Gets the time in milliseconds after which the metadata extracter will be stopped. |
void |
setTimeoutMs(long timeoutMs) Sets the time in milliseconds after which the metadata extracter will be stopped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataExtracterLimits
public MetadataExtracterLimits()
getTimeoutMs
public long getTimeoutMs()
-
Gets the time in milliseconds after which the metadata extracter will be stopped.
Returns:
-
the timeout
setTimeoutMs
public void setTimeoutMs(long timeoutMs)
-
Sets the time in milliseconds after which the metadata extracter will be stopped.
Parameters:
-
timeoutMs - the timeout