com.taobao.metamorphosis.server.transaction
接口 TransactionStore
- 所有超级接口:
- Service
- 所有已知实现类:
- JournalTransactionStore
public interface TransactionStore
- extends Service
事务性存储引擎
- 作者:
- boyan(boyan@taobao.com)
prepare
void prepare(TransactionId txid)
throws IOException
- 抛出:
IOException
commit
void commit(TransactionId txid,
boolean wasPrepared)
throws IOException
- 抛出:
IOException
rollback
void rollback(TransactionId txid)
throws IOException
- 抛出:
IOException
addMessage
void addMessage(MessageStore store,
long msgId,
PutCommand cmd,
JournalLocation location)
throws IOException
- 抛出:
IOException
recover
void recover(TransactionRecoveryListener listener)
throws IOException
- 抛出:
IOException
Copyright © 2010–2013. All rights reserved.