2.7.
CLASS: POOL
CHAPTER 2.
API REFERENCE
RPC name: sync database
Overview:
Forcibly synchronise the database now.
Signature:
void sync_database (session_id s)
Return Type:
void
RPC name: designate new master
Overview:
Perform an orderly handover of the role of master to the referenced host.
Signature:
void designate_new_master (session_id s, host ref host)
Arguments:
type
name
description
host ref
host
The host who should become the new master
Return Type:
void
RPC name: get all
Overview:
Return a list of all the pools known to the system.
Signature:
((pool ref) Set) get_all (session_id s)
Return Type:
(pool ref) Set
references to all objects
RPC name: get all records
Overview:
Return a map of pool references to pool records for all pools known to the system.
Signature:
((pool ref -> pool record) Map) get_all_records (session_id s)
Return Type:
(pool ref
→
pool record) Map
records of all objects
40