blob: a6a6b441918ee4abab370a82f2eafdb2b5792a2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
#ifndef ICE_GRID_FILE_CACHE_H
#define ICE_GRID_FILE_CACHE_H
#include <Ice/BuiltinSequences.h>
#include <Ice/CommunicatorF.h>
namespace IceGrid
{
class FileCache
{
public:
FileCache(const std::shared_ptr<Ice::Communicator>&);
long long getOffsetFromEnd(const std::string&, int);
bool read(const std::string&, long long , int, long long &, Ice::StringSeq&);
private:
const int _messageSizeMax;
};
};
#endif
|