|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.ibm.etools.iseries.core.comm.bridge.AbstractLastAccessedCache
com.ibm.etools.iseries.core.comm.bridge.ISeriesObjectCache
A local cache used by the CODE comm bridge for caching ISeriesFile objects.
Nested Class Summary | |
---|---|
protected class |
ISeriesObjectCache.InternalObjectStore
Inner class for associating a record list with its corresponding library/file |
Field Summary | |
---|---|
protected static com.ibm.etools.iseries.core.comm.bridge.AbstractLastAccessedCache |
_instance
|
protected static JavaToCOutputStream |
_key
|
static String |
copyright
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
protected |
ISeriesObjectCache(int maxSize)
Constructor for LastAccessedCache. |
Method Summary | |
---|---|
boolean |
add(ISeriesObject object,
String library)
|
boolean |
add(Object obj)
Override of the add method to add the element to the beginning of the list and to make sure the max size of the list has not exceeded the max size limit. |
protected ISeriesFile |
findFile(String libraryName,
String fileName)
Helper method for finding files since this is the most common operation. |
protected ISeriesObject |
findObject(String libraryName,
String objectName,
String objectType)
Lookup ISeriesObject with specified name |
static ISeriesObjectCache |
getInstance(JavaToCOutputStream key)
Return an instance of this cache for the current comm session as specified by the JavaToCOutputStream instance |
protected void |
moveToFront(int index)
Move the element at index to the front of the linked list |
Methods inherited from class java.util.ArrayList |
---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Field Detail |
public static final String copyright
protected static com.ibm.etools.iseries.core.comm.bridge.AbstractLastAccessedCache _instance
protected static JavaToCOutputStream _key
Constructor Detail |
protected ISeriesObjectCache(int maxSize)
Method Detail |
protected ISeriesFile findFile(String libraryName, String fileName)
protected ISeriesObject findObject(String libraryName, String objectName, String objectType)
public static ISeriesObjectCache getInstance(JavaToCOutputStream key)
public boolean add(ISeriesObject object, String library)
Collection.add(Object)
protected void moveToFront(int index)
public boolean add(Object obj)
LinkedList.addFirst(Object)
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |