Documentation ¶
Index ¶
- Constants
- func Execute(task AFTTask) interface{}
- func GetDigestAssociationArray(localDigest string, reduceIndex int) ([]string, error)
- func JobStart(guid string)
- func SaveDigestAssociation(digest string, localDigest string) error
- type AFTMapTask
- func (obj *AFTMapTask) DoWeHaveEnoughMatchingReplyAfter(lastReply interface{}) bool
- func (obj *AFTMapTask) ExecuteRPCCallTo(fullRPCInternetAddress string)
- func (obj *AFTMapTask) GetAvailableWorkerProcessesRPCInternetAddresses() []string
- func (obj *AFTMapTask) GetChannelToSendFirstReply() (bool, chan interface{})
- func (obj *AFTMapTask) GetFaultToleranceLevel() int
- func (obj *AFTMapTask) GetOutput() interface{}
- func (obj *AFTMapTask) GetReplyChannel() chan interface{}
- type AFTMapTaskOutput
- type AFTReduceTask
- func (obj *AFTReduceTask) DoWeHaveEnoughMatchingReplyAfter(lastReply interface{}) bool
- func (obj *AFTReduceTask) ExecuteRPCCallTo(fullRPCInternetAddress string)
- func (obj *AFTReduceTask) GetAvailableWorkerProcessesRPCInternetAddresses() []string
- func (obj *AFTReduceTask) GetChannelToSendFirstReply() (bool, chan interface{})
- func (obj *AFTReduceTask) GetFaultToleranceLevel() int
- func (obj *AFTReduceTask) GetOutput() interface{}
- func (obj *AFTReduceTask) GetReplyChannel() chan interface{}
- type AFTReduceTaskOutput
- type AFTTask
- type Map
- type MapInput
- type MapOutput
- type Receive
- type ReceiveInput
- type ReceiveOutput
- type Reduce
- type ReduceInput
- type ReduceOutput
- type Request
- type RequestInput
- type RequestOutput
- type Retrieve
- type RetrieveInput
- type RetrieveOutput
- type Send
- type SendInput
- type SendOutput
Constants ¶
View Source
const ( AcceptanceJobRequestType = uint8(0) UploadPreSignedURLRequestType = uint8(1) DownloadPreSignedURLRequestType = uint8(2) )
View Source
const ( ReduceTaskName = "REDUCE" MapTaskName = "MAP" ReceiveTaskName = "RECEIVE" SendTaskName = "SEND" RetrieveTaskName = "RETRIEVE" )
Variables ¶
This section is empty.
Functions ¶
func SaveDigestAssociation ¶
Types ¶
type AFTMapTask ¶
type AFTMapTask struct {
// contains filtered or unexported fields
}
func NewAFTMapTask ¶
func NewAFTMapTask(split string, workerGroupId int, firstReplyPredictedAsCorrectChannel chan interface{}) *AFTMapTask
func (*AFTMapTask) DoWeHaveEnoughMatchingReplyAfter ¶
func (obj *AFTMapTask) DoWeHaveEnoughMatchingReplyAfter(lastReply interface{}) bool
func (*AFTMapTask) ExecuteRPCCallTo ¶
func (obj *AFTMapTask) ExecuteRPCCallTo(fullRPCInternetAddress string)
func (*AFTMapTask) GetAvailableWorkerProcessesRPCInternetAddresses ¶
func (obj *AFTMapTask) GetAvailableWorkerProcessesRPCInternetAddresses() []string
func (*AFTMapTask) GetChannelToSendFirstReply ¶
func (obj *AFTMapTask) GetChannelToSendFirstReply() (bool, chan interface{})
func (*AFTMapTask) GetFaultToleranceLevel ¶
func (obj *AFTMapTask) GetFaultToleranceLevel() int
func (*AFTMapTask) GetOutput ¶
func (obj *AFTMapTask) GetOutput() interface{}
func (*AFTMapTask) GetReplyChannel ¶
func (obj *AFTMapTask) GetReplyChannel() chan interface{}
type AFTMapTaskOutput ¶
type AFTReduceTask ¶
type AFTReduceTask struct {
// contains filtered or unexported fields
}
func NewAFTReduceTask ¶
func NewAFTReduceTask(targetNodeGroupId int, reduceTaskIdentifierDigest string, reduceTaskIndex int) *AFTReduceTask
func (*AFTReduceTask) DoWeHaveEnoughMatchingReplyAfter ¶
func (obj *AFTReduceTask) DoWeHaveEnoughMatchingReplyAfter(lastReply interface{}) bool
func (*AFTReduceTask) ExecuteRPCCallTo ¶
func (obj *AFTReduceTask) ExecuteRPCCallTo(fullRPCInternetAddress string)
func (*AFTReduceTask) GetAvailableWorkerProcessesRPCInternetAddresses ¶
func (obj *AFTReduceTask) GetAvailableWorkerProcessesRPCInternetAddresses() []string
func (*AFTReduceTask) GetChannelToSendFirstReply ¶
func (obj *AFTReduceTask) GetChannelToSendFirstReply() (bool, chan interface{})
func (*AFTReduceTask) GetFaultToleranceLevel ¶
func (obj *AFTReduceTask) GetFaultToleranceLevel() int
func (*AFTReduceTask) GetOutput ¶
func (obj *AFTReduceTask) GetOutput() interface{}
func (*AFTReduceTask) GetReplyChannel ¶
func (obj *AFTReduceTask) GetReplyChannel() chan interface{}
type AFTReduceTaskOutput ¶
type AFTTask ¶
type AFTTask interface { GetReplyChannel() chan interface{} GetFaultToleranceLevel() int GetAvailableWorkerProcessesRPCInternetAddresses() []string DoWeHaveEnoughMatchingReplyAfter(lastReply interface{}) bool ExecuteRPCCallTo(fullRPCInternetAddress string) GetOutput() interface{} GetChannelToSendFirstReply() (bool, chan interface{}) }
type Receive ¶
type Receive struct { }
func (*Receive) Execute ¶
func (x *Receive) Execute(input ReceiveInput, output *ReceiveOutput) error
type ReceiveInput ¶
type ReceiveOutput ¶
type ReceiveOutput struct { }
type Reduce ¶
type Reduce struct { }
func (*Reduce) Execute ¶
func (x *Reduce) Execute(input ReduceInput, output *ReduceOutput) error
type ReduceInput ¶
type ReduceOutput ¶
type Request ¶
type Request struct { }
func (*Request) Execute ¶
func (x *Request) Execute(input RequestInput, output *RequestOutput) error
type RequestInput ¶
type RequestOutput ¶
type RequestOutput struct {
Url string
}
type Retrieve ¶
type Retrieve struct { }
func (*Retrieve) Execute ¶
func (x *Retrieve) Execute(input RetrieveInput, output *RetrieveOutput) error
type RetrieveInput ¶
type RetrieveInput struct {
DataDigest string
}
type RetrieveOutput ¶
type RetrieveOutput struct {
RawData []byte
}
type SendOutput ¶
type SendOutput struct {
SendDataDigest string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.