PHP 인터페이스 Jackalope\Transport\TransactionInterface

상속: extends Jackalope\Transport\TransportInterface
파일 보기 프로젝트 열기: jackalope/jackalope 0 사용 예제들

공개 메소드들

메소드 설명
beginTransaction ( ) : string Initiates a "local transaction" on the root node
commitTransaction ( ) Commits a transaction started with {@link beginTransaction()}
rollbackTransaction ( ) Rolls back a transaction started with {@link beginTransaction()}
setTransactionTimeout ( integer $seconds ) Sets the default transaction timeout

메소드 상세

beginTransaction() 공개 메소드

Initiates a "local transaction" on the root node
public beginTransaction ( ) : string
리턴 string The received transaction token

commitTransaction() 공개 메소드

Commits a transaction started with {@link beginTransaction()}
public commitTransaction ( )

rollbackTransaction() 공개 메소드

Rolls back a transaction started with {@link beginTransaction()}
public rollbackTransaction ( )

setTransactionTimeout() 공개 메소드

Sets the default transaction timeout
public setTransactionTimeout ( integer $seconds )
$seconds integer The value of the timeout in seconds