RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
core/banker/migration/redis_migration.h
00001 /* redis_migration.h
00002    Wolfgang Sourdeau, 17 December 2012
00003    Copyright (c) 2012 Datacratic.  All rights reserved.
00004    
00005    Redis migration class
00006  */
00007 
00008 #ifndef REDIS_MIGRATION_H
00009 #define REDIS_MIGRATION_H
00010 
00011 namespace Redis {
00012     class Address;
00013 }
00014 
00015 namespace RTBKIT {
00016 
00017 struct RedisMigration {
00018     void perform(const Redis::Address & sourceAddress,
00019                  int delta,
00020                  const Redis::Address & targetAddress);
00021 };
00022 
00023 } // namespace RTBKIT
00024 
00025 #endif /* REDIS_MIGRATION_H */
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator