Package com.j_spaces.core.cache
Class EntriesIter
java.lang.Object
com.j_spaces.core.cache.SAIterBase
com.j_spaces.core.cache.EntriesIter
- All Implemented Interfaces:
ISAdapterIterator<IEntryHolder>
Iterator for entries.
-
Field Summary
Fields inherited from class com.j_spaces.core.cache.SAIterBase
_cacheManager, _context -
Constructor Summary
ConstructorsConstructorDescriptionEntriesIter(Context context, ITemplateHolder template, IServerTypeDesc serverTypeDesc, CacheManager cacheManager, long SCNFilter, long leaseFilter, boolean memoryOnly, boolean transientOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbeforeAlternatingThreadBatch(Context context) voidclose()Cleans up open resourcesbooleannext()voidsetBringCacheInfoOnly(boolean val) void
-
Constructor Details
-
EntriesIter
public EntriesIter(Context context, ITemplateHolder template, IServerTypeDesc serverTypeDesc, CacheManager cacheManager, long SCNFilter, long leaseFilter, boolean memoryOnly, boolean transientOnly) throws SAException - Throws:
SAException
-
-
Method Details
-
beforeAlternatingThreadBatch
-
afterAlternatingThreadBatch
public void afterAlternatingThreadBatch() -
next
- Specified by:
nextin interfaceISAdapterIterator<IEntryHolder>- Throws:
SAException
-
next_by_uid
- Throws:
SAException
-
nextEntryCacheInfo
- Throws:
SAException
-
nextObject
- Throws:
SAException
-
getCurrentEntryCacheInfo
-
getCurrentEntryHolder
-
close
Description copied from class:SAIterBaseCleans up open resources- Specified by:
closein interfaceISAdapterIterator<IEntryHolder>- Overrides:
closein classSAIterBase- Throws:
SAException
-
setNotRefreshCache
public void setNotRefreshCache() -
setBringCacheInfoOnly
public void setBringCacheInfoOnly(boolean val) -
isBringCacheInfoOnly
public boolean isBringCacheInfoOnly()
-