/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/ |
H A D | PassivatedSessionCache.java | 62 * this item is just added to the cache 63 * @param item <code>CacheItem</code> that was created 64 * @return a overflow item; may be null 68 protected CacheItem itemAdded(CacheItem item) { argument 70 LruCacheItem lc = (LruCacheItem) item; 73 lc.lastAccessed = ((Long) item.value).longValue();
|
H A D | FIFOSessionCache.java | 55 protected void itemAccessed(CacheItem item) { argument 56 LruCacheItem lc = (LruCacheItem) item; 60 CacheItem overflow = super.itemAdded(item); 68 protected void itemRefreshed(CacheItem item, int oldSize) { argument
|
H A D | NRUSessionCache.java | 65 protected CacheItem itemAdded(CacheItem item) { argument 66 CacheItem addedItem = super.itemAdded(item); 71 protected void itemAccessed(CacheItem item) { argument 72 LruCacheItem lc = (LruCacheItem) item; 76 CacheItem overflow = super.itemAdded(item); 81 super.itemAccessed(item); 86 protected void itemRefreshed(CacheItem item, int oldSize) { argument 89 protected void itemRemoved(CacheItem item) { argument 90 super.itemRemoved(item);
|
H A D | UnboundedEJBObjectCache.java | 96 protected void trimItem(CacheItem item) { argument
|
H A D | LruCache.java | 65 // the item never expires 91 * create new item 95 * @param size size in bytes of the item 106 * trim one item from the LRU list 108 * @return the item trimmed from cache 142 * this item is just added to the cache 143 * @param item <code>CacheItem</code> that was created 144 * @return a overflow item; may be null 146 * this function checks if adding the new item results in a overflow; 147 * if so, it returns the item t 151 itemAdded(CacheItem item) argument 187 itemAccessed(CacheItem item) argument 227 itemRefreshed(CacheItem item, int oldSize) argument 237 itemRemoved(CacheItem item) argument [all...] |
H A D | FIFOEJBObjectCache.java | 154 protected void itemAccessed(CacheItem item) { } argument 156 protected void itemRemoved(CacheItem item) { argument 157 LruCacheItem l = (LruCacheItem) item; 159 // remove the item from the LRU list 161 // if the item is already trimmed from the LRU list, nothing to do. 193 CacheItem item = null; 196 item = buckets[index]; 198 for (; item != null; item = item [all...] |
H A D | BaseCache.java | 101 // the number of cache item removals 105 // the number of cache item refreshes 109 // the number of times an item was added to cache 125 // boolean status and locks for item thread-safe refreshes 277 * this item is just added to the cache 278 * @param item <code>CacheItem</code> that was created 279 * @return a overflow item; may be null 288 protected CacheItem itemAdded(CacheItem item) { argument 296 * this item is accessed 297 * @param item <cod 301 itemAccessed(CacheItem item) argument 309 itemRefreshed(CacheItem item, int oldSize) argument 317 itemRemoved(CacheItem item) argument 796 trimItem(CacheItem item) argument [all...] |
H A D | LruSessionCache.java | 148 * trim the item from the cache and notify listeners 149 * @param item to be trimmed 151 protected void trimItem(CacheItem item) { argument 152 LruCacheItem removed = (LruCacheItem) item; 155 StatefulEJBContext ctx = (StatefulEJBContext) item.value; 171 protected void itemAccessed(CacheItem item) { argument 172 LruCacheItem lc = (LruCacheItem) item; 177 CacheItem overflow = super.itemAdded(item); 182 super.itemAccessed(item); 204 CacheItem item [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/ |
H A D | ArrayStack.java | 123 * Returns the top item off of this stack without removing it. 125 * @return the top item on the stack 138 * Returns the n'th item down (zero-relative) from the top of this 142 * @return the n'th item on the stack, zero relative 156 * Pops the top item off of this stack and return it. 158 * @return the top item on the stack 171 * Pushes a new item onto the top of this stack. The pushed item is also 174 * @param item the item t 177 push(E item) argument [all...] |
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/ |
H A D | ArrayUtil.java | 134 @param startIndex index of the first item 180 Create a new array consisting of an original array, and a single new item. 183 @param item an item to append 188 final T item) 194 result[result.length - 1] = item; 186 newArray( final T[] items, final T item) argument
|
H A D | SetUtil.java | 72 for (final T item : array) 74 set.add(item); 97 public static <T> Set<T> newSet(final T item) argument 100 set.add(item);
|
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/j2ee/ |
H A D | J2EETest.java | 217 getMonitoringPeerProps(final J2EEManagedObject item) { argument 218 final String j2eeType = item.getJ2EEType(); 220 final ObjectName objectName = Util.getObjectName(item); 224 props = Util.makeRequiredProps(monitoringPeerJ2EEType, item.getName()); 250 for (final J2EEManagedObject item : j2eeAll) { 251 final ObjectName objectName = Util.getObjectName(item); 252 assert (objectName.equals(Util.newObjectName(item.getobjectName()))); 254 final String j2eeType = item.getJ2EEType(); 256 if (item.isstateManageable()) { 257 assert (item instanceo [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/ |
H A D | BoundedMultiLruCache.java | 110 * this item is just added to the cache 111 * @param item <code>CacheItem</code> that was created 112 * @return a overflow item; may be null 116 protected CacheItem itemAdded(CacheItem item) { argument 117 LruCacheItem overflow = (LruCacheItem) super.itemAdded(item); 123 incrementCurrentSize(item.getSize()); 129 * item value has been refreshed 130 * @param item <code>CacheItem</code> that was refreshed 134 protected void itemRefreshed(CacheItem item, int oldSize) { argument 135 super.itemRefreshed(item, oldSiz 150 itemRemoved(CacheItem item) argument [all...] |
H A D | LruCache.java | 54 // the item never expires 117 * create new item 121 * @param size size in bytes of the item 132 * trim one item from the LRU list 134 * @return the item trimmed from cache 167 * this item is just added to the cache 168 * @param item <code>CacheItem</code> that was created 169 * @return a overflow item; may be null 171 * this function checks if adding the new item results in a overflow; 172 * if so, it returns the item t 176 itemAdded(CacheItem item) argument 220 itemAccessed(CacheItem item) argument 258 itemRefreshed(CacheItem item, int oldSize) argument 268 itemRemoved(CacheItem item) argument [all...] |
H A D | MultiLruCache.java | 113 * create new item 117 * @param size size in bytes of the item 128 * remove an lru item from one of the LRU lists 130 * @return the item that was successfully trimmed 152 * this item is just added to the cache 153 * @param item <code>CacheItem</code> that was created 154 * @return a overflow item; may be null 158 protected CacheItem itemAdded(CacheItem item) { argument 160 LruCacheItem lc = (LruCacheItem) item; 162 int index = getIndex(item 194 itemAccessed(CacheItem item) argument 230 itemRefreshed(CacheItem item, int oldSize) argument 240 itemRemoved(CacheItem item) argument [all...] |
H A D | BaseCache.java | 90 // the number of cache item removals 94 // the number of cache item refreshes 98 // the number of times an item was added to cache 114 // boolean status and locks for item thread-safe refreshes 224 * this item is just added to the cache 225 * @param item <code>CacheItem</code> that was created 226 * @return a overflow item; may be null 235 protected CacheItem itemAdded(CacheItem item) { argument 243 * this item is accessed 244 * @param item <cod 248 itemAccessed(CacheItem item) argument 256 itemRefreshed(CacheItem item, int oldSize) argument 264 itemRemoved(CacheItem item) argument 738 trimItem(CacheItem item) argument [all...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/zip/ |
H A D | ZipWriter.java | 248 private void addEntry(ZipItem item) throws ZipFileException, IOException argument 251 ZipEntry ze = new ZipEntry(item.name); 254 if(!item.name.endsWith("/")) 256 FileInputStream in = new FileInputStream(item.file); 268 Logger.getAnonymousLogger().finer("Wrote " + item.name + " to Zip File. Wrote " + totalBytes + " bytes.");
|
/glassfish-3.1.2/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/ |
H A D | ConsolePluginService.java | 190 for (TOCItem item : toc.getTOCItems()) { 191 insertTOCItem(mergedTOC.getTOCItems(), item, id + prefix); 201 * <p> This method inserts the given <code>item</code> into the 204 private void insertTOCItem(List<TOCItem> dest, TOCItem item, String prefix) { argument 205 int idx = dest.indexOf(item); 208 fixTargetPath(item, prefix); 211 dest.add(item); 213 // Already there, insert children of item... 215 for (TOCItem child : item.getTOCItems()) { 258 for (IndexItem item 272 insertIndexItem(List<IndexItem> dest, IndexItem item, String prefix) argument [all...] |
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/ |
H A D | DOMUtil.java | 238 writeNode(l.item(i), writer, new HashMap<String,String>()); 272 Attr att = (Attr)a.item(i); 325 writeNode(l.item(i), writer, resolvedPrefixes); 342 return (nodeList != null) ? (Element) nodeList.item(0) : null; 357 Element childElem = (Element) nl.item(0); 509 Node node = nodeList.item(i); 577 public Node item(int aIndex) { method in class:DOMUtil.NodeListImpl
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/loader/ |
H A D | ASURLClassLoader.java | 1040 boolean hasItem(String item) { argument 1051 *the target item is not there and this URLEntry is for a directory, look for 1056 String target = item; 1058 if (item.startsWith("./")) { 1059 target = item.substring(2, item.length());
|
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/ |
H A D | CLIBootstrap.java | 364 * Adds an item to the Java agent arguments. 365 * @param item 367 final void add(final String item) { argument 368 args.append(sep).append(item); 768 * a next item and that it does not start with -.
|
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/ |
H A D | AMXConfigImpl.java | 775 public void performOn(final WriteableView item) throws TransactionFailure argument 781 recursiveCreate( item, sptRoot, mSubs ); 981 for( final Object item : c ) 983 translated.add( translateResult(item) );
|