mirror of
https://github.com/ceph/ceph
synced 2024-12-16 08:26:25 +00:00
533bbf7bf5
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
32 lines
824 B
C++
32 lines
824 B
C++
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
|
|
// vim: ts=8 sw=2 smarttab
|
|
/*
|
|
* Ceph - scalable distributed file system
|
|
*
|
|
* Copyright (C) 2012 New Dream Network/Sage Weil <sage@newdream.net>
|
|
*
|
|
* This is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software
|
|
* Foundation. See file COPYING.
|
|
*/
|
|
|
|
#ifndef TRACKEDREQUEST_H_
|
|
#define TRACKEDREQUEST_H_
|
|
#include <sstream>
|
|
#include <stdint.h>
|
|
#include <include/utime.h>
|
|
#include "common/Mutex.h"
|
|
#include "include/xlist.h"
|
|
#include "msg/Message.h"
|
|
#include <tr1/memory>
|
|
|
|
class TrackedOp {
|
|
public:
|
|
virtual void mark_event(const string &event) = 0;
|
|
virtual ~TrackedOp() {}
|
|
};
|
|
typedef std::tr1::shared_ptr<TrackedOp> TrackedOpRef;
|
|
|
|
#endif
|