summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h
blob: 6ada2565332cf0a5984b4c5ef274a77fccfc7ce6 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// -*- C++ -*-

//=============================================================================
/**
 *  @file   Hash_Persistence_Strategy.h
 *
 *  @author Matthew Braun <mjb2@cs.wustl.edu>
 *  @author Pradeep Gore <pradeep@cs.wustl.edu>
 *  @author David A. Hanvey <d.hanvey@qub.ac.uk>
 */
//=============================================================================

#ifndef TAO_TLS_HASH_PERSISTENCE_STRATEGY_H
#define TAO_TLS_HASH_PERSISTENCE_STRATEGY_H

#include /**/ "ace/pre.h"
#include /**/ "ace/config-all.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "orbsvcs/Log/Log_Persistence_Strategy.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

/**
 * @class TAO_Hash_Persistence_Strategy
 *
 * @brief Concrete Strategy for Log / Log Record Storage
 *
 * Stores log parameters and log records in hash maps
 */
class TAO_Log_Serv_Export TAO_Hash_Persistence_Strategy
  : public TAO_Log_Persistence_Strategy
{
public:
  // = Initialization and Termination Methods

  /// Constructor.
  TAO_Hash_Persistence_Strategy ();

  /// Destructor.
  virtual ~TAO_Hash_Persistence_Strategy ();

  /// @brief Log Store Factory
  virtual TAO_LogStore*
    create_log_store (TAO_LogMgr_i* mgr);

private:
};

TAO_END_VERSIONED_NAMESPACE_DECL

#include /**/ "ace/post.h"

#endif /* TAO_TLS_HASH_PERSISTENCE_STRATEGY_H */