// Methods to support diagnostics
public synchronized List getDictionary() {
if (diagDictionary == null) {
diagDictionary = new ArrayList();
diagDictionary.add(new DiagDictionaryEntry("poolCapacity", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("poolSize", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("blockSize", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("nBufs", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("bigBufSize", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("bigPoolSize", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("directBytesAllocated", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("directBufsAllocated", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("heapBytesAllocated", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("heapBufsAllocated", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("hits", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("misses", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("adds", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("drops", DiagManager.COUNTER));
diagDictionary.add(new DiagDictionaryEntry("utilization", DiagManager.VARIABLE));
diagDictionary.add(new DiagDictionaryEntry("poolContents", DiagManager.VARIABLE));
}
return diagDictionary;
}