~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session/cache.h

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <list>
24
24
 
25
 
#include <drizzled/visibility.h>
 
25
#include "drizzled/session.h"
 
26
#include "drizzled/visibility.h"
26
27
 
27
28
namespace drizzled
28
29
{
34
35
 
35
36
class DRIZZLED_API Cache 
36
37
{
37
 
  typedef boost::shared_ptr<drizzled::Session> session_shared_ptr;
38
38
public:
39
 
  typedef std::list<session_shared_ptr> list;
 
39
  typedef std::list<Session::shared_ptr> list;
40
40
 
41
41
  Cache() :
42
42
    _ready_to_exit(false)
68
68
  void shutdownFirst();
69
69
  void shutdownSecond();
70
70
 
71
 
  void erase(session_shared_ptr&);
 
71
  void erase(Session::shared_ptr&);
72
72
  size_t count();
73
 
  void insert(session_shared_ptr &arg);
 
73
  void insert(Session::shared_ptr &arg);
74
74
 
75
 
  session_shared_ptr find(const session_id_t &id);
 
75
  Session::shared_ptr find(const session_id_t &id);
76
76
 
77
77
private:
78
78
  bool volatile _ready_to_exit;