single writer

This commit is contained in:
Barak Michener 2014-07-27 15:39:45 -04:00
parent 7a8d4194bd
commit e13e65d09b
3 changed files with 36 additions and 3 deletions

View file

@ -39,7 +39,7 @@ type Value interface{}
type TripleStore interface {
// The only way in is through building a transaction, which
// is done by a replication strategy.
ApplyTransactions([]*Transaction)
ApplyTransactions([]*Transaction) error
// Given an opaque token, returns the triple for that token from the store.
Triple(Value) *Triple