org.apache.commons.jexl2
Class CacheTest.Cached

java.lang.Object
  extended by org.apache.commons.jexl2.CacheTest.Cached
Direct Known Subclasses:
CacheTest.Cached0, CacheTest.Cached2
Enclosing class:
CacheTest

public static class CacheTest.Cached
extends Object

A set of classes that define different getter/setter methods for the same properties. The goal is to verify that the cached JexlPropertyGet / JexlPropertySet in the AST Nodes are indeed volatile and do not generate errors even when multiple threads concurently hammer them.


Constructor Summary
CacheTest.Cached()
           
 
Method Summary
 String ambiguous(Integer arg0, int arg1)
           
 String ambiguous(int arg0, Integer arg1)
           
 String compute(float arg)
           
static String COMPUTE(int arg)
           
 String compute(Integer arg)
           
 String compute(int arg0, int arg1)
           
static String COMPUTE(int arg0, int arg1)
           
 String compute(String arg)
           
static String COMPUTE(String arg)
           
 String compute(String arg0, String arg1)
           
static String COMPUTE(String arg0, String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheTest.Cached

public CacheTest.Cached()
Method Detail

compute

public String compute(String arg)

compute

public String compute(String arg0,
                      String arg1)

compute

public String compute(Integer arg)

compute

public String compute(float arg)

compute

public String compute(int arg0,
                      int arg1)

ambiguous

public String ambiguous(Integer arg0,
                        int arg1)

ambiguous

public String ambiguous(int arg0,
                        Integer arg1)

COMPUTE

public static String COMPUTE(String arg)

COMPUTE

public static String COMPUTE(String arg0,
                             String arg1)

COMPUTE

public static String COMPUTE(int arg)

COMPUTE

public static String COMPUTE(int arg0,
                             int arg1)


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.