The API provides functions to create and end a transaction capture session and to initiate and end capture on a given table for a given capture session.
这个API提供的功能包括创建和结束事务捕捉会话,以及启动和停止给定的捕捉会话对给定的表的捕捉。
To better manage the resources associated with a session, developers can stipulate which operation may be invoked to initiate a session and which operations signal the end of a session.
若要更好的管理与会话有关的资源,开发者可以规定调用哪一个操作来初始化会话,哪一个操作来结束会话。
BeginAndEnd: The method should begin a new session and end that session when it is done.
BeginAndEnd:这个方法开始一个新的session(会话)并在方法结束时结束它。
应用推荐