ceph/src/common/TrackedOp.h
Samuel Just 533bbf7bf5 osd/: OpRequest implements TrackedOp for passing into filestore
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-03-28 17:15:17 -07:00

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