#include "SwapDir.h"
#include "DiskIO/IORequestor.h"
-
#ifndef COSS_MEMBUF_SZ
#define COSS_MEMBUF_SZ 1048576
#endif
#define COSS_ALLOC_ALLOCATE 1
#define COSS_ALLOC_REALLOC 2
-
/// \ingroup COSS
class CossSwapDir : public SwapDir, public IORequestor
{
/// \ingroup COSS
extern void storeCossStartMembuf(CossSwapDir * SD);
-
#include "StoreSearch.h"
/// \ingroup COSS
virtual StoreEntry *currentItem();
private:
- CBDATA_CLASS2(StoreSearchCoss);
RefCount<CossSwapDir> sd;
void (*callback)(void *cbdata);
void *cbdata;
bool _done;
dlink_node * current;
dlink_node * next_;
+
+ CBDATA_CLASS2(StoreSearchCoss);
};
#endif