Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.content.metadata
Class MetadataExtracterLimits
java.lang.Object
  org.alfresco.repo.content.metadata.MetadataExtracterLimits

@org.alfresco.api.AlfrescoPublicApi
public class MetadataExtracterLimits
extends Object
Represents maximum values (that result in exceptions if exceeded) or limits on values (that result in EOF (End Of File) being returned early). The current options are elapsed time, document size and concurrent extractions limit.
Author:
Ray Gauss II

Constructor Summary
MetadataExtracterLimits()
Method Summary
int
getMaxConcurrentExtractionsCount()
          Gets the maximum count of allowed concurrent extractions
double
getMaxDocumentSizeMB()
          Gets the maximum size(MB) allowed for a transformation
long
getTimeoutMs()
          Gets the time in milliseconds after which the metadata extracter will be stopped.
void
setMaxConcurrentExtractionsCount(int maxConcurrentExtractionsCount)
          Sets the maximum number of allowed concurrent extractions
void
setMaxDocumentSizeMB(double maxDocumentSizeMB)
          Sets the maximum size(MB) allowed for a transformation
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
Constructor Detail
MetadataExtracterLimits
public MetadataExtracterLimits()
Method Detail
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

getMaxDocumentSizeMB
public double getMaxDocumentSizeMB()
Gets the maximum size(MB) allowed for a transformation
Returns:
maximum size

setMaxDocumentSizeMB
public void setMaxDocumentSizeMB(double maxDocumentSizeMB)
Sets the maximum size(MB) allowed for a transformation

setMaxConcurrentExtractionsCount
public void setMaxConcurrentExtractionsCount(int maxConcurrentExtractionsCount)
Sets the maximum number of allowed concurrent extractions

getMaxConcurrentExtractionsCount
public int getMaxConcurrentExtractionsCount()
Gets the maximum count of allowed concurrent extractions
Returns:
maximum count

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.