Documentation ¶
Index ¶
- Constants
- type Session
- func (sess *Session) AllReduce(w Workspace) error
- func (sess *Session) Barrier() error
- func (sess *Session) Broadcast(w Workspace) error
- func (sess *Session) BytesConsensus(bs []byte, name string) (bool, error)
- func (sess *Session) ClusterSize() int
- func (sess *Session) Consensus(w Workspace) error
- func (sess *Session) Gather(w Workspace) error
- func (sess *Session) GetPeerLatencies() []time.Duration
- func (sess *Session) LocalRank() int
- func (sess *Session) Rank() int
- func (sess *Session) Reduce(w Workspace) error
- func (sess *Session) Request(rank int, version, name string, buf *kb.Vector) (bool, error)
- type Workspace
Constants ¶
View Source
const (
Mi = 1 << 20
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session contains the immutable topology and strategies for a given period of logical duration
func (*Session) BytesConsensus ¶
func (*Session) ClusterSize ¶
func (*Session) GetPeerLatencies ¶
Click to show internal directories.
Click to hide internal directories.