コード例 #1
0
 internal Result(ExitStatus exitStatus, long bytesLeftToMove, long bytesBeingMoved
                 , long bytesAlreadyMoved)
 {
     this.exitStatus        = exitStatus;
     this.bytesLeftToMove   = bytesLeftToMove;
     this.bytesBeingMoved   = bytesBeingMoved;
     this.bytesAlreadyMoved = bytesAlreadyMoved;
 }
コード例 #2
0
 internal virtual Balancer.Result NewResult(ExitStatus exitStatus)
 {
     return(new Balancer.Result(exitStatus, -1, -1, dispatcher.GetBytesMoved()));
 }
コード例 #3
0
 internal virtual Balancer.Result NewResult(ExitStatus exitStatus, long bytesLeftToMove
                                            , long bytesBeingMoved)
 {
     return(new Balancer.Result(exitStatus, bytesLeftToMove, bytesBeingMoved, dispatcher
                                .GetBytesMoved()));
 }