|
|
|
change_table_state(self,
dst_db,
tbl,
state,
tick_id=None) |
source code
|
|
|
|
|
|
|
|
|
get_table_by_state(self,
state)
get first table with specific state |
source code
|
|
|
|
|
handle_events(self,
dst_curs,
ev_list)
Actual event processing happens here. |
source code
|
|
|
|
|
handle_system_event(self,
ev,
dst_curs)
System event. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
save_table_state(self,
curs)
Store changed table state in database. |
source code
|
|
|
sync_from_copy_thread(self,
cnt,
dst_db)
Copy thread sync logic. |
source code
|
|
|
sync_from_main_thread(self,
cnt,
dst_db)
Main thread sync logic. |
source code
|
|
|
|
Inherited from pgq.consumer.SerialConsumer :
attach ,
clean_completed_tick ,
detach ,
dst_reset ,
init_optparse ,
is_batch_done ,
process_batch ,
rewind ,
set_batch_done ,
startup
Inherited from pgq.consumer.Consumer :
get_batch_info ,
process_event ,
register_consumer ,
stat_end ,
stat_start ,
unregister_consumer ,
work
Inherited from skytools.scripting.DBScript :
close_database ,
get_database ,
hook_sighup ,
hook_sigint ,
reload ,
reset ,
run ,
run_once ,
send_signal ,
send_stats ,
set_single_loop ,
start ,
stat_add ,
stat_increase ,
stat_put ,
stop
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|