Skip Headers
Oracle® TimesTen In-Memory Database Reference
Release 11.2.1

Part Number E13069-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

ttRepPolicyGet

Description

Returns the replication restart policy used to determine when the TimesTen Replication Agent for the connected data store should run. The policy can be always, manual, or norestart.

Required privilege

This procedure requires no privilege.

Syntax

ttRepPolicyGet()

Parameters

ttRepPolicyGet has no parameters.

Result set

ttRepPolicyGet returns the results:

Parameter Type Description
repPolicy TT_VARCHAR (10) The policy used to determine when the TimesTen Replication Agent for the data store should run. Valid values are:

always - specifies that the replication agent for the data store is always running. This option immediately starts the TimesTen Replication Agent. When the TimesTen daemon restarts, TimesTen automatically restarts the Replication Agent.

manual - specifies that you must manually start the Replication Agent using either the ttRepStart built-in procedure or the ttAdmin -repStart command. You must explicitly stop the Replication Agent using either the ttRepStop built-in procedure or the ttAdmin -repStop command.

norestart - specifies that the replication agent for the data store is not to be restarted after a failure.


Examples

To set the policy for TimesTen Replication Agent to always, use:

CALL ttRepPolicyGet();

See also


ttRepDeactivate
ttRepTransmitSet
ttReplicationStatus
ttRepPolicySet
ttRepStart
ttRepStop
ttRepSubscriberStateSet
ttRepSubscriberWait
ttRepSyncGet
ttRepSyncSet
"ttRepDuplicateEx" in Oracle TimesTen In-Memory Database C Developer's Guide