10.12.2012 Views

Oracle TimesTen In-Memory Database API and SQL Reference Guide

Oracle TimesTen In-Memory Database API and SQL Reference Guide

Oracle TimesTen In-Memory Database API and SQL Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ttRepSubscriberStateSet<br />

Description Changes a replicating subscriber’s state with respect to the executing master<br />

store.<br />

Access<br />

Control<br />

If Access Control is enabled for your instance of <strong>TimesTen</strong>, this procedure<br />

requires ADMIN privileges.<br />

Syntax ttRepSubscriberStateSet (replicationName, replicationOwner,<br />

subscriberStoreName, subscriberHostName, newStateCode)<br />

Parameters ttRepSubscriberStateSet has these parameters:<br />

Parameter Type Description<br />

replicationName CHAR (30) The name of the replication<br />

scheme on which to operate.<br />

May be NULL to indicate all<br />

replication schemes.<br />

replicationOwner CHAR (30) The owner of the replication<br />

scheme. May be NULL to<br />

indicate all replication<br />

scheme owners.<br />

subscriberStoreName VARCHAR(200) The name of the subscribing<br />

data store whose state is to be<br />

set. May be NULL to indicate<br />

all stores on host<br />

subscriberHostName.<br />

subscriberHostName VARCHAR(200) The subscriber’s host. May<br />

be NULL to indicate all hosts<br />

of subscribing peers.<br />

newStateCode INTEGER An integer code representing<br />

the specified subscriber’s<br />

new state:<br />

0/NULL - started<br />

1 - paused<br />

2 - stopped<br />

All other state codes are<br />

disallowed. (This procedure<br />

cannot set a subscriber state<br />

to “failed.”)<br />

Built-<strong>In</strong> Procedures 283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!