summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/EvictorIteratorI.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-04-09 23:21:15 +0000
committerBernard Normier <bernard@zeroc.com>2004-04-09 23:21:15 +0000
commit0dcad3e212de5e8560e57c1a3d2f04909ebe7513 (patch)
tree412366d59303c0c4a90d281e50f78c39775db31d /cpp/src/Freeze/EvictorIteratorI.h
parentEach request now has its own set of object factories. (diff)
downloadice-0dcad3e212de5e8560e57c1a3d2f04909ebe7513.tar.bz2
ice-0dcad3e212de5e8560e57c1a3d2f04909ebe7513.tar.xz
ice-0dcad3e212de5e8560e57c1a3d2f04909ebe7513.zip
Updated Freeze Evictor with new facets
Diffstat (limited to 'cpp/src/Freeze/EvictorIteratorI.h')
-rw-r--r--cpp/src/Freeze/EvictorIteratorI.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/cpp/src/Freeze/EvictorIteratorI.h b/cpp/src/Freeze/EvictorIteratorI.h
index 817570c2c36..1b292cd0d96 100644
--- a/cpp/src/Freeze/EvictorIteratorI.h
+++ b/cpp/src/Freeze/EvictorIteratorI.h
@@ -16,20 +16,19 @@
#define FREEZE_EVICTOR_ITERATOR_I_H
#include <Ice/Ice.h>
-#include <Freeze/Evictor.h>
-#include <Freeze/DB.h>
+#include <Freeze/Freeze.h>
#include <vector>
namespace Freeze
{
-class EvictorI;
+class ObjectStore;
class EvictorIteratorI : public EvictorIterator
{
public:
- EvictorIteratorI(EvictorI&, Ice::Int, bool);
+ EvictorIteratorI(ObjectStore*, Ice::Int);
virtual bool hasNext();
virtual Ice::Identity next();
@@ -39,15 +38,14 @@ private:
std::vector<Ice::Identity>::const_iterator
nextBatch();
- EvictorI& _evictor;
+ ObjectStore* _store;
size_t _batchSize;
- bool _loadServants;
std::vector<Ice::Identity>::const_iterator _batchIterator;
Key _key;
- Value _value;
std::vector<Ice::Identity> _batch;
bool _more;
+ bool _initialized;
};
}