Package com.tailf.dp
Interface NextObjectList<E>
- All Superinterfaces:
Collection<E>
,Iterable<E>
,List<E>
- All Known Implementing Classes:
NextObjectArrayList
Instances of classes implementing this interface can be used as
return value for the
DpDataCallback.getIteratorObjectList(com.tailf.dp.DpTrans, com.tailf.conf.ConfObject[], java.lang.Object, java.util.Iterator<? extends java.lang.Object>)
method.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
This method is used by the library to read the timeout value (in milliseconds) pertaining to the objects in this List instance.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
getTimeout
int getTimeout()This method is used by the library to read the timeout value (in milliseconds) pertaining to the objects in this List instance. A value of 0 instructs NCS to use the default, governed by /ncs-config/japi/object-cache-timeout. When the timeout expires, NCS will discard the objects from its cache and if needed request them via the callback again.
-