com.taobao.metamorphosis.server.transaction.store
类 JournalTransactionStore.Tx

java.lang.Object
  继承者 com.taobao.metamorphosis.server.transaction.store.JournalTransactionStore.Tx
包容类:
JournalTransactionStore

public static class JournalTransactionStore.Tx
extends Object

事务内存对象,保存操作轨迹

作者:
boyan(boyan@taobao.com)

构造方法摘要
JournalTransactionStore.Tx(JournalLocation location)
           
 
方法摘要
 void add(MessageStore store, long msgId, PutCommand putCmd)
           
 Map<MessageStore,List<Long>> getMsgIds()
           
 Map<MessageStore,Queue<JournalTransactionStore.TxOperation>> getOperations()
           
 Map<MessageStore,List<PutCommand>> getPutCommands()
           
 PutCommand[] getRequests()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JournalTransactionStore.Tx

public JournalTransactionStore.Tx(JournalLocation location)
方法详细信息

add

public void add(MessageStore store,
                long msgId,
                PutCommand putCmd)

getMsgIds

public Map<MessageStore,List<Long>> getMsgIds()

getRequests

public PutCommand[] getRequests()

getPutCommands

public Map<MessageStore,List<PutCommand>> getPutCommands()

getOperations

public Map<MessageStore,Queue<JournalTransactionStore.TxOperation>> getOperations()


Copyright © 2010–2013. All rights reserved.