Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » stateful » [javadoc | source]
org.apache.openejb.core.stateful
public class: SimpleCache [javadoc | source]
java.lang.Object
   org.apache.openejb.core.stateful.SimpleCache

All Implemented Interfaces:
    Cache

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
public static final  Logger logger     
Constructor:
 public SimpleCache() 
 public SimpleCache(CacheListener<V> listener,
    PassivationStrategy passivator,
    int capacity,
    int bulkPassivate,
    Duration timeOut) 
Method from org.apache.openejb.core.stateful.SimpleCache Summary:
add,   checkIn,   checkOut,   getBulkPassivate,   getCapacity,   getListener,   getPassivator,   getTimeOut,   processLRU,   remove,   removeAll,   setBulkPassivate,   setCapacity,   setListener,   setPassivator,   setPassivator,   setPoolSize,   setTimeOut
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.core.stateful.SimpleCache Detail:
 public  void add(K key,
    V value) 
 public  void checkIn(K key) 
 public V checkOut(K key) throws Exception 
 public synchronized int getBulkPassivate() 
 public synchronized int getCapacity() 
 public synchronized CacheListener<V> getListener() 
 public synchronized PassivationStrategy getPassivator() 
 public synchronized long getTimeOut() 
 public  void processLRU() 
 public V remove(K key) 
 public  void removeAll(CacheFilter<V> filter) 
 public synchronized  void setBulkPassivate(int bulkPassivate) 
 public synchronized  void setCapacity(int capacity) 
 public synchronized  void setListener(CacheListener<V> listener) 
 public synchronized  void setPassivator(PassivationStrategy passivator) 
 public synchronized  void setPassivator(Class<PassivationStrategy> passivatorClass) throws Exception 
 public synchronized  void setPoolSize(int capacity) 
 public synchronized  void setTimeOut(long timeOut)