summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/FileCache.h
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2021-01-28 16:26:44 -0500
committerJoe George <joe@zeroc.com>2021-02-01 16:59:30 -0500
commit92a6531e409f2691d82591e185a92299d415fc0f (patch)
tree60c79e2a8f327b8f0b6ebc06b06f48a2e8086f6a /cpp/src/IceGrid/FileCache.h
parentPort Glacier2, IceBox, IceBridge, IceDB, IceXML, icegriddb (diff)
downloadice-92a6531e409f2691d82591e185a92299d415fc0f.tar.bz2
ice-92a6531e409f2691d82591e185a92299d415fc0f.tar.xz
ice-92a6531e409f2691d82591e185a92299d415fc0f.zip
IceGrid and IceStorm
Diffstat (limited to 'cpp/src/IceGrid/FileCache.h')
-rw-r--r--cpp/src/IceGrid/FileCache.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/cpp/src/IceGrid/FileCache.h b/cpp/src/IceGrid/FileCache.h
index 12751665402..3a40feac689 100644
--- a/cpp/src/IceGrid/FileCache.h
+++ b/cpp/src/IceGrid/FileCache.h
@@ -5,27 +5,25 @@
#ifndef ICE_GRID_FILE_CACHE_H
#define ICE_GRID_FILE_CACHE_H
-#include <IceUtil/Shared.h>
#include <Ice/BuiltinSequences.h>
#include <Ice/CommunicatorF.h>
namespace IceGrid
{
-class FileCache : public IceUtil::Shared
+class FileCache
{
public:
- FileCache(const Ice::CommunicatorPtr&);
+ FileCache(const std::shared_ptr<Ice::Communicator>&);
- Ice::Long getOffsetFromEnd(const std::string&, int);
- bool read(const std::string&, Ice::Long, int, Ice::Long&, Ice::StringSeq&);
+ long long getOffsetFromEnd(const std::string&, int);
+ bool read(const std::string&, long long , int, long long &, Ice::StringSeq&);
private:
- const int _messageSizeMax;
+ const int _messageMaxSize;
};
-typedef IceUtil::Handle<FileCache> FileCachePtr;
};