|
Distributed Cache
|
#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"
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 |
| CachePolicyInterface* getCachePolicy | ( | ) |

| DataConnectorInterface* getDataConnector | ( | ) |

| void handle_my | ( | int | sig | ) |


| void initConfig | ( | int | ac, |
| char * | av[] | ||
| ) |

| void killServer | ( | int | ret = EXIT_SUCCESS | ) |


| int main | ( | int | argc, |
| char ** | argv | ||
| ) |

| po::variables_map config |
| CacheServer server |
1.8.18