   2009 - 2011 Zuse Institute Berlin
     and onScale solutions GmbH

    Licensed under the Apache License , Version 2.0 ( the " License " ) ;
%   you may not use this file except in compliance with the License.
%   You may obtain a copy of the License at
%
%       -2.0
%
%   Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an " AS IS " BASIS ,
%   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%   See the License for the specific language governing permissions and
%   limitations under the License.

  @author   <  >
%% @doc : Part of generic transaction implementation -
%%           The state for a transaction in a tp (transaction participant).
  @version $ I d : tx_tp_state.erl 1445 2011 - 02 - 23 11:34:29Z  $
-module(tx_tp_state).
-author('').
-vsn('$Id: tx_tp_state.erl 1445 2011-02-23 11:34:29Z  $').

%-define(TRACE(X,Y), io:format(X,Y)).
-define(TRACE(X,Y), ok).

%% Operations on tx_tm_state
%% -export([new/5, new/6]).

  tx_tm_state :   ,
%%               Client,
%%               ClientsId,
%%               RTMs, (should we store the RTMs once more
                       to make RTMs not churning during a Tx ? )
%%               tx_tm_helper_behaviour to use? needed? for what?,
                timeout before the first RTM takes over
%%               [{TLogEntry, [{PaxosID, state}]}]
                Majority of RTMs ,
                NumIds ,
                NumPrepared ,
                NumAbort ,
%%               }




   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       -2.0

   Unless required by applicable law or agreed to in writing, software
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 @doc : Part of generic transaction implementation -
           The state for a transaction in a tp (transaction participant).
-define(TRACE(X,Y), io:format(X,Y)).
 Operations on tx_tm_state
 -export([new/5, new/6]).
               Client,
               ClientsId,
               RTMs, (should we store the RTMs once more
               tx_tm_helper_behaviour to use? needed? for what?,
               [{TLogEntry, [{PaxosID, state}]}]
               }
   2009 - 2011 Zuse Institute Berlin
     and onScale solutions GmbH

    Licensed under the Apache License , Version 2.0 ( the " License " ) ;
    distributed under the License is distributed on an " AS IS " BASIS ,

  @author   <  >
  @version $ I d : tx_tp_state.erl 1445 2011 - 02 - 23 11:34:29Z  $
-module(tx_tp_state).
-author('').
-vsn('$Id: tx_tp_state.erl 1445 2011-02-23 11:34:29Z  $').

-define(TRACE(X,Y), ok).


  tx_tm_state :   ,
                       to make RTMs not churning during a Tx ? )
                timeout before the first RTM takes over
                Majority of RTMs ,
                NumIds ,
                NumPrepared ,
                NumAbort ,



