Package ariba.util.core

Examples of ariba.util.core.NamedValue


    public synchronized List<NamedValue> activeSessionCountBuckets ()
    {
        List<NamedValue> result = ListUtil.list();
        for (Object bucket : _activeSessionCountPerBucket.keySet()) {
            result.add(new NamedValue(bucket == null ? "null" : bucket.toString(),
                                      _activeSessionCountPerBucket.get(bucket)));
        }

        return result;
    }
View Full Code Here


                    "Shutdown warning period begun.  Forcing shutdown in (%s millis).",
                    Constants.getLong(remainingPeriod));
            }
            List<NamedValue> list = getUISessionCountBuckets();
            for (int i = 0; i < list.size(); i++) {
                NamedValue nv = list.get(i);
                ariba.util.log.Log.shutdown.info(10339, this.name(), nv.getName(), nv.getValue());
            }
            return false;
        }
        return true;
    }
View Full Code Here

                buckets.put(bucket, count);
            }

            List<NamedValue> ret = ListUtil.list();
            for (String bucket : buckets.keySet()) {
                NamedValue nv = new NamedValue(bucket, buckets.get(bucket));
                ret.add(nv);
            }
            return ret;
        }
View Full Code Here

        List result = ListUtil.list();
        SortedSet keyset = new TreeSet(keyValueStats.keySet());
        for (Iterator i = keyset.iterator(); i.hasNext();) {
            String name = (String)i.next();
            result.add(
                new NamedValue(                            
                    name,
                    keyValueStats.get(name)));
        }           
        return result;       
    }
View Full Code Here

TOP

Related Classes of ariba.util.core.NamedValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.