Documentation ¶
Overview ¶
All group memebership chagnes must go through this group
Index ¶
- type Group
- func (g *Group) AttachRSToGroup_local(rs RemoteServer) RegisterReply
- func (g *Group) Coordinators() map[uint64]RemoteServer
- func (g *Group) Delete(rs RemoteServer)
- func (g *Group) GetCoordinator(d uint64) RemoteServer
- func (g *Group) GetDaemon(d uint64) RemoteServer
- func (g *Group) GetID() uint64
- func (g *Group) GetNFailures() uint
- func (g *Group) GetNShards() uint
- func (g *Group) LocalAbort(rs RemoteServer)
- func (g *Group) LocalCommit(rs RemoteServer)
- func (g *Group) PreCommit(rs RemoteServer) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) AttachRSToGroup_local ¶
func (g *Group) AttachRSToGroup_local(rs RemoteServer) RegisterReply
this method does the two phase commit for a new server
func (*Group) Coordinators ¶
func (*Group) GetCoordinator ¶
func (*Group) GetNFailures ¶
func (*Group) GetNShards ¶
func (*Group) LocalAbort ¶
func (g *Group) LocalAbort(rs RemoteServer)
func (*Group) LocalCommit ¶
func (g *Group) LocalCommit(rs RemoteServer)
Click to show internal directories.
Click to hide internal directories.