Distributed Cache
Classes | Functions | Variables
cache_server.cpp File Reference
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <boost/program_options.hpp>
#include <iostream>
#include "LRU_cache_policy.h"
#include "basic_data_connector.h"
#include "cache.h"
#include "cache_policies.h"
#include "data_connectors.h"
#include "member_node.h"
#include "membership.h"
#include "postgres_data_connector.h"
#include "requests.h"
#include "server_interface.h"
#include "server_thread_pool.h"
Include dependency graph for cache_server.cpp:

Classes

class  CacheServer
 

Functions

void initConfig (int ac, char *av[])
 
CachePolicyInterface * getCachePolicy ()
 
DataConnectorInterface * getDataConnector ()
 
void killServer (int ret)
 
void handle_my (int sig)
 
int main (int argc, char **argv)
 

Variables

po::variables_map config
 
CacheServer server
 

Function Documentation

◆ getCachePolicy()

CachePolicyInterface* getCachePolicy ( )
Here is the caller graph for this function:

◆ getDataConnector()

DataConnectorInterface* getDataConnector ( )
Here is the caller graph for this function:

◆ handle_my()

void handle_my ( int  sig)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initConfig()

void initConfig ( int  ac,
char *  av[] 
)
Here is the caller graph for this function:

◆ killServer()

void killServer ( int  ret = EXIT_SUCCESS)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)
Here is the call graph for this function:

Variable Documentation

◆ config

po::variables_map config

◆ server

CacheServer server