ldas-tools-diskcacheAPI  2.7.2
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
diskCache::MetaCommand::Status Class Reference

Retrieve information from a running server. More...

#include <MetaCommands.hh>

Inheritance diagram for diskCache::MetaCommand::Status:
Inheritance graph
[legend]
Collaboration diagram for diskCache::MetaCommand::Status:
Collaboration graph
[legend]

Public Types

typedef ServerInfo::port_type port_type
 
typedef ServerInfo::port_type port_type
 
typedef ServerInfo::port_type port_type
 

Public Member Functions

 Status (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 Constructor. More...
 
 Status (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 Constructor. More...
 
 Status (CommandLineOptions &Args, const ClientServerInterface::ServerInfo &Server)
 Constructor. More...
 
void ClientHandle (server_responce_type Value)
 
void ClientHandle (server_responce_type Value)
 
void ClientHandle (server_responce_type Value)
 
bool IsServer () const
 
bool IsServer () const
 
bool IsServer () const
 
const ServerInfoServer () const
 
const ServerInfoServer () const
 
const ServerInfoServer () const
 
const std::string & ServerHostname () const
 
const std::string & ServerHostname () const
 
const std::string & ServerHostname () const
 
port_type ServerPort () const
 
port_type ServerPort () const
 
port_type ServerPort () const
 
void ServerRequest (const std::string &Command)
 
void ServerRequest (const std::string &Command)
 
void ServerRequest (const std::string &Command)
 
void operator() ()
 
void operator() ()
 
void operator() ()
 

Static Public Member Functions

static const OptionSetOptions ()
 
static const OptionSetOptions ()
 
static const OptionSetOptions ()
 

Protected Member Functions

virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
virtual void evalClient ()
 
virtual void evalServer ()
 
virtual void evalStandalone ()
 
server_responce_type clientHandle ()
 
server_responce_type clientHandle ()
 
server_responce_type clientHandle ()
 
void eval ()
 
void eval ()
 
void eval ()
 
client_type serverRequestHandle ()
 
client_type serverRequestHandle ()
 
client_type serverRequestHandle ()
 

Private Types

enum  {
  OPT_DEVICES , OPT_HOTDIRS , OPT_OFFLINE , OPT_THREADS ,
  OPT_VARIABLE , OPT_SIZE
}
 
enum  {
  OPT_DEVICES , OPT_HOTDIRS , OPT_OFFLINE , OPT_THREADS ,
  OPT_VARIABLE , OPT_SIZE
}
 
enum  {
  OPT_DEVICES , OPT_HOTDIRS , OPT_OFFLINE , OPT_THREADS ,
  OPT_VARIABLE , OPT_SIZE
}
 
typedef std::bitset< OPT_SIZEtasks_type
 
typedef std::list< std::string > variables_type
 
typedef std::bitset< OPT_SIZEtasks_type
 
typedef std::list< std::string > variables_type
 
typedef std::bitset< OPT_SIZEtasks_type
 
typedef std::list< std::string > variables_type
 

Static Private Member Functions

static OptionSetinit_options ()
 
static OptionSetinit_options ()
 
static OptionSetinit_options ()
 

Private Attributes

CommandLineOptions args
 
tasks_type tasks
 
variables_type variables
 
const ServerInfoserver
 
server_responce_type handle_client
 
client_type server_request_handle
 

Static Private Attributes

static OptionSetoptions
 

Detailed Description

Retrieve information from a running server.

This interface allows for the querying a live diskcache daemon process for certain pieces of information

Member Typedef Documentation

◆ port_type [1/3]

◆ port_type [2/3]

◆ port_type [3/3]

◆ tasks_type [1/3]

typedef std::bitset< OPT_SIZE > diskCache::MetaCommand::Status::tasks_type
private

◆ tasks_type [2/3]

typedef std::bitset< OPT_SIZE > diskCache::MetaCommand::Status::tasks_type
private

◆ tasks_type [3/3]

typedef std::bitset< OPT_SIZE > diskCache::MetaCommand::Status::tasks_type
private

◆ variables_type [1/3]

typedef std::list< std::string > diskCache::MetaCommand::Status::variables_type
private

◆ variables_type [2/3]

typedef std::list< std::string > diskCache::MetaCommand::Status::variables_type
private

◆ variables_type [3/3]

typedef std::list< std::string > diskCache::MetaCommand::Status::variables_type
private

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_DEVICES 
OPT_HOTDIRS 
OPT_OFFLINE 

Request list of offline mountpoints.

OPT_THREADS 
OPT_VARIABLE 
OPT_SIZE 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_DEVICES 
OPT_HOTDIRS 
OPT_OFFLINE 

Request list of offline mountpoints.

OPT_THREADS 
OPT_VARIABLE 
OPT_SIZE 

◆ anonymous enum

anonymous enum
private
Enumerator
OPT_DEVICES 
OPT_HOTDIRS 
OPT_OFFLINE 

Request list of offline mountpoints.

OPT_THREADS 
OPT_VARIABLE 
OPT_SIZE 

Constructor & Destructor Documentation

◆ Status() [1/3]

diskCache::MetaCommand::Status::Status ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

Constructor.

Construct a new instance of the object

◆ Status() [2/3]

diskCache::MetaCommand::Status::Status ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

Constructor.

Construct a new instance of the object

◆ Status() [3/3]

diskCache::MetaCommand::Status::Status ( CommandLineOptions Args,
const ClientServerInterface::ServerInfo Server 
)

Constructor.

Construct a new instance of the object

Member Function Documentation

◆ clientHandle() [1/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
inlineprotectedinherited

◆ clientHandle() [2/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
protectedinherited

◆ clientHandle() [3/3]

server_responce_type diskCache::MetaCommand::ClientServerInterface::clientHandle ( )
protectedinherited

◆ ClientHandle() [1/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inlineinherited

◆ ClientHandle() [2/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inherited

◆ ClientHandle() [3/3]

void diskCache::MetaCommand::ClientServerInterface::ClientHandle ( server_responce_type  Value)
inherited

◆ eval() [1/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
inlineprotectedinherited

◆ eval() [2/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
protectedinherited

◆ eval() [3/3]

void diskCache::MetaCommand::ClientServerInterface::eval ( )
protectedinherited

◆ evalClient() [1/3]

void diskCache::MetaCommand::Status::evalClient ( )
protectedvirtual

◆ evalClient() [2/3]

virtual void diskCache::MetaCommand::Status::evalClient ( )
protectedvirtual

◆ evalClient() [3/3]

virtual void diskCache::MetaCommand::Status::evalClient ( )
protectedvirtual

◆ evalServer() [1/3]

void diskCache::MetaCommand::Status::evalServer ( )
protectedvirtual

◆ evalServer() [2/3]

virtual void diskCache::MetaCommand::Status::evalServer ( )
protectedvirtual

◆ evalServer() [3/3]

virtual void diskCache::MetaCommand::Status::evalServer ( )
protectedvirtual

◆ evalStandalone() [1/3]

void diskCache::MetaCommand::Status::evalStandalone ( )
protectedvirtual

◆ evalStandalone() [2/3]

virtual void diskCache::MetaCommand::Status::evalStandalone ( )
protectedvirtual

◆ evalStandalone() [3/3]

virtual void diskCache::MetaCommand::Status::evalStandalone ( )
protectedvirtual

◆ init_options() [1/3]

OptionSet & diskCache::MetaCommand::Status::init_options ( )
staticprivate

◆ init_options() [2/3]

static OptionSet& diskCache::MetaCommand::Status::init_options ( )
staticprivate

◆ init_options() [3/3]

static OptionSet& diskCache::MetaCommand::Status::init_options ( )
staticprivate

◆ IsServer() [1/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inlineinherited

◆ IsServer() [2/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inherited

◆ IsServer() [3/3]

bool diskCache::MetaCommand::ClientServerInterface::IsServer ( ) const
inherited

◆ operator()() [1/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inlineinherited

◆ operator()() [2/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inherited

◆ operator()() [3/3]

void diskCache::MetaCommand::ClientServerInterface::operator() ( )
inherited

◆ Options() [1/3]

const OptionSet & diskCache::MetaCommand::Status::Options ( )
static

◆ Options() [2/3]

static const OptionSet& diskCache::MetaCommand::Status::Options ( )
static

◆ Options() [3/3]

static const OptionSet& diskCache::MetaCommand::Status::Options ( )
static

◆ Server() [1/3]

const ClientServerInterface::ServerInfo & diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inlineinherited

◆ Server() [2/3]

const ServerInfo& diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inherited

◆ Server() [3/3]

const ServerInfo& diskCache::MetaCommand::ClientServerInterface::Server ( ) const
inherited

◆ ServerHostname() [1/3]

const std::string & diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inlineinherited

◆ ServerHostname() [2/3]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inherited

◆ ServerHostname() [3/3]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerHostname ( ) const
inherited

◆ ServerPort() [1/3]

ClientServerInterface::port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inlineinherited

◆ ServerPort() [2/3]

port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inherited

◆ ServerPort() [3/3]

port_type diskCache::MetaCommand::ClientServerInterface::ServerPort ( ) const
inherited

◆ ServerRequest() [1/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inlineinherited

◆ ServerRequest() [2/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inherited

◆ ServerRequest() [3/3]

void diskCache::MetaCommand::ClientServerInterface::ServerRequest ( const std::string &  Command)
inherited

◆ serverRequestHandle() [1/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
inlineprotectedinherited

◆ serverRequestHandle() [2/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
protectedinherited

◆ serverRequestHandle() [3/3]

client_type diskCache::MetaCommand::ClientServerInterface::serverRequestHandle ( )
protectedinherited

Member Data Documentation

◆ args

CommandLineOptions diskCache::MetaCommand::Status::args
private

◆ handle_client

server_responce_type diskCache::MetaCommand::ClientServerInterface::handle_client
privateinherited

◆ options

OptionSet & diskCache::MetaCommand::Status::options
staticprivate

◆ server

const ServerInfo & diskCache::MetaCommand::ClientServerInterface::server
privateinherited

◆ server_request_handle

client_type diskCache::MetaCommand::ClientServerInterface::server_request_handle
privateinherited

◆ tasks

tasks_type diskCache::MetaCommand::Status::tasks
private

◆ variables

variables_type diskCache::MetaCommand::Status::variables
private

The documentation for this class was generated from the following files: