com.atlassian.jira.issue.thumbnail
Class AdaptiveThresholdPredicate

java.lang.Object
  extended by com.atlassian.jira.issue.thumbnail.AdaptiveThresholdPredicate
All Implemented Interfaces:
com.google.common.base.Predicate<Dimensions>

public class AdaptiveThresholdPredicate
extends Object
implements com.google.common.base.Predicate<Dimensions>

Decides the allowed image size based on free memory.

This code was taken originally from our friends in Confluence

Since:
v4.4

Constructor Summary
AdaptiveThresholdPredicate()
           
 
Method Summary
 boolean apply(Dimensions input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

AdaptiveThresholdPredicate

public AdaptiveThresholdPredicate()
Method Detail

apply

public boolean apply(Dimensions input)
Specified by:
apply in interface com.google.common.base.Predicate<Dimensions>


Copyright © 2002-2014 Atlassian. All Rights Reserved.