Searched refs:item (Results 1 - 25 of 98) sorted by relevance

1234

/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DLruSessionCache.java148 * 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...]
H A DBaseCache.java101 // 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 DFIFOSessionCache.java55 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 DNRUSessionCache.java65 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 DFIFOEJBObjectCache.java154 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 DPassivatedSessionCache.java62 * 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 DLruCache.java65 // 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...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java90 // 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...]
H A DBoundedMultiLruCache.java110 * 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 DLruCache.java54 // 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 DMultiLruCache.java113 * 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...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/
H A DBaseNotificationBroadcaster.java121 BaseNotificationBroadcasterEntry item = items.next();
122 if ((item.listener == listener) &&
123 (item.filter != null) &&
124 (item.filter instanceof BaseAttributeFilter) &&
125 (item.handback == handback)) {
127 (BaseAttributeFilter) item.filter;
178 BaseNotificationBroadcasterEntry item = items.next();
179 if (item.listener == listener)
241 BaseNotificationBroadcasterEntry item = items.next();
242 if ((item
[all...]
H A DFeatureInfo.java148 FieldInfo item = items.next();
149 descriptor.setField(item.getName(), item.getValue());
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/web/
H A DFunctionDescriptor.java60 String name = n1.item(k).getNodeName();
62 className = n1.item(k).getFirstChild().getNodeValue();
73 String name = n1.item(k).getNodeName();
75 signature = n1.item(k).getFirstChild().getNodeValue();
H A DTagDescriptor.java70 String name = n1.item(k).getNodeName();
72 className = n1.item(k).getFirstChild().getNodeValue();
86 String name = n1.item(k).getNodeName();
88 dynAttr = n1.item(k).getFirstChild().getNodeValue();
102 String name = n1.item(k).getNodeName();
104 tagName = n1.item(k).getFirstChild().getNodeValue();
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DObjectUtil.java62 for (final Object item : items)
64 result ^= hashCode(item);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DProfilerImpl.java50 /** Simple class for profiling code. beginItem/endItem pairs start and stop the timing for an item.
71 /** Start timing an item.
77 /** Start timing an item.
78 * @param desc - Descriptive text for the item
89 /** Stop timing an item and store the information.
93 Item item = getLastNotEnded();
95 if (item != null) {
96 item.end();
113 Item item = (Item) iter.next();
114 sb.append(item
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/j2ee/
H A DJ2EETest.java217 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/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/
H A DConsolePluginService.java190 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/tests/logmonitor/
H A Dmessage-keys-used-checker.rb51 keys.collect! { |item|
53 if item =~ /^([\w._\-]+\s*[^\\])[=:].*/
56 item
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/digester/
H A DArrayStack.java123 * 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...]
H A DRulesBase.java145 Rule item = items.next();
146 item.setDigester(digester);
305 Rule item = items.next();
306 if ((namespaceURI.equals(item.getNamespaceURI())) ||
307 (item.getNamespaceURI() == null)) {
308 results.add(item);
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DHttpListenerTest.java74 for (NetworkListener item : service.getNetworkListener()) {
75 if ("http-listener-1".equals(item.getName())) {
76 listener= item;
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/core/
H A DJBIDescriptorReader.java153 Element name = (Element) namelist.item(0);
157 sValue = (name.getChildNodes().item(0)).getNodeValue().trim();
198 Node node = providers.item(i);
206 Node node = consumers.item(i);
214 eptMappings = eptMappings.item(0).getChildNodes();
216 if(!eptMappings.item(i).getNodeName().contains("ept-mapping"))
218 NodeList nList = eptMappings.item(i).getChildNodes();
222 Node node = nList.item(j);
252 privateEndpoints = privateEndpoints.item(0).getChildNodes();
255 Node privateEndpoint = privateEndpoints.item(
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DXMLUtil.java73 Node node = nodeList.item(0);
79 String s = nodeList.item(0).getTextContent();
82 s = URLDecoder.decode(nodeList.item(0).getTextContent(), "UTF-8");
84 s = nodeList.item(0).getTextContent();
101 Node node = nodeList.item(i);
129 Node node = nodeList.item(0);

Completed in 196 milliseconds

1234