KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > ejb > BeanCache


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * BeanCache.java
21  *
22  * Created on November 17, 2004, 5:19 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.ejb;
26
27 /**
28  *
29  * @author Nitya Doraisamy
30  */

31 public interface BeanCache extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
32
33     public static final String JavaDoc MAX_CACHE_SIZE = "MaxCacheSize"; // NOI18N
34
public static final String JavaDoc RESIZE_QUANTITY = "ResizeQuantity"; // NOI18N
35
public static final String JavaDoc IS_CACHE_OVERFLOW_ALLOWED = "IsCacheOverflowAllowed"; // NOI18N
36
public static final String JavaDoc CACHE_IDLE_TIMEOUT_IN_SECONDS = "CacheIdleTimeoutInSeconds"; // NOI18N
37
public static final String JavaDoc REMOVAL_TIMEOUT_IN_SECONDS = "RemovalTimeoutInSeconds"; // NOI18N
38
public static final String JavaDoc VICTIM_SELECTION_POLICY = "VictimSelectionPolicy"; // NOI18N
39

40     /** Setter for max-cache-size property
41      * @param value property value
42      */

43     public void setMaxCacheSize(java.lang.String JavaDoc value);
44     /** Getter for max-cache-size property.
45      * @return property value
46      */

47     public java.lang.String JavaDoc getMaxCacheSize();
48     
49     /** Setter for resize-quantity property
50      * @param value property value
51      */

52     public void setResizeQuantity(java.lang.String JavaDoc value);
53     /** Getter for resize-quantity property.
54      * @return property value
55      */

56     public java.lang.String JavaDoc getResizeQuantity();
57     
58     /** Setter for is-cache-overflow-allowed property
59      * @param value property value
60      */

61     public void setIsCacheOverflowAllowed(java.lang.String JavaDoc value);
62     /** Getter for is-cache-overflow-allowed property.
63      * @return property value
64      */

65     public java.lang.String JavaDoc getIsCacheOverflowAllowed();
66     
67     /** Setter for cache-idle-timeout-in-seconds property
68      * @param value property value
69      */

70     public void setCacheIdleTimeoutInSeconds(java.lang.String JavaDoc value);
71     /** Getter for cache-idle-timeout-in-seconds property.
72      * @return property value
73      */

74     public java.lang.String JavaDoc getCacheIdleTimeoutInSeconds();
75     
76     
77     /** Setter for removal-timeout-in-seconds property
78      * @param value property value
79      */

80     public void setRemovalTimeoutInSeconds(java.lang.String JavaDoc value);
81     /** Getter for removal-timeout-in-seconds property.
82      * @return property value
83      */

84     public java.lang.String JavaDoc getRemovalTimeoutInSeconds();
85     
86     /** Setter for victim-selection-policy property
87      * @param value property value
88      */

89     public void setVictimSelectionPolicy(java.lang.String JavaDoc value);
90     /** Getter for victim-selection-policy property.
91      * @return property value
92      */

93     public java.lang.String JavaDoc getVictimSelectionPolicy();
94     
95 }
96
Popular Tags