Parameters
|
Usage type
|
Description
|
---|---|---|
h
|
in
|
Handle to the server
|
what
|
in
|
Specifies the event for notification.
The options are:
▪ SSC_NOTIFY_EMERGENCY_EXIT
This function is called if a server shuts down abnormally after it has been activated with SSCStartServer(). The notifier call SSCSetNotifier() must be run before SSCStartServer()
|
|
|
▪ SSC_NOTIFY_SHUTDOWN
Function is called at shutdown.
|
|
|
▪ SSC_NOTIFY_SHUTDOWN_REQUEST
Function is called when the server receives the shutdown request and might shut down if the user-defined function accepts the request. You can refuse the shutdown by returning SSC_ABORT from the notified function, or proceed with the request by returning SSC_SUCCESS.
|
|
|
▪ SSC_NOTIFY_ROWSTOMERGE
Function is called when there is data in the Bonsai index tree that needs to be merged to the storage server.
|
|
|
▪ SSC_NOTIFY_MERGE_REQUEST
Function is called when the General.MergeInterval parameter setting in the solid.ini configuration file is exceeded and the merge has to start.
|
|
|
▪ SSC_NOTIFY_BACKUP_REQUEST
Function is called when a backup is requested. You can refuse the backup by returning SSC_ABORT from the notified function.
|
|
|
▪ SSC_NOTIFY_CHECKPOINT_REQUEST
Function is called when a checkpoint is requested. You can refuse the checkpoint by returning SSC_ABORT from the notified function.
|
|
|
▪ SSC_NOTIFY_IDLE
Function is called when the server switches to the idle state.
|
|
|
▪ SSC_NOTIFY_NETCOPY_REQUEST
This callback function applies to the HotStandby component only. The function is called when a netcopy request is received from the primary server.
|
|
|
▪ SSC_NOTIFY_NETCOPY_FINISHED
This callback function applies to the HotStandby component only. The function is called when a netcopy request is finished. When finished, the server is started with the new database received through the network copy (netcopy). SSC_NOTIFY_NETCOPY_FINISHED is called to inform the application that the server is again available.
|
notify_fun_handler
|
in, hold
|
User function to call.
|
userdata
|
in, hold
|
User data to be passed to the notify function.
Note Check the warning on releasing parameters of usage type hold in section Parameters.
|