Woolpack API

woolpack.misc
クラス LoadBalancer<C,R,E extends java.lang.Exception,E1 extends java.lang.Exception>

java.lang.Object
  上位を拡張 woolpack.misc.LoadBalancer<C,R,E,E1>
すべての実装されたインタフェース:
Fn<C,R,E>

public class LoadBalancer<C,R,E extends java.lang.Exception,E1 extends java.lang.Exception>
extends java.lang.Object
implements Fn<C,R,E>


コンストラクタの概要
LoadBalancer(Fn<java.lang.Object,? extends Fn<? super C,? extends R,? extends E>,? extends E1> factory, int length)
           
 
メソッドの概要
 R exec(C c)
          関数を実行します。
 Fn<java.lang.Object,? extends Fn<? super C,? extends R,? extends E>,? extends E1> getFactory()
           
 int getLength()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LoadBalancer

public LoadBalancer(Fn<java.lang.Object,? extends Fn<? super C,? extends R,? extends E>,? extends E1> factory,
                    int length)
             throws E1 extends java.lang.Exception
例外:
E1 extends java.lang.Exception
メソッドの詳細

exec

public R exec(C c)
       throws E extends java.lang.Exception
インタフェース Fn の記述:
関数を実行します。

定義:
インタフェース Fn<C,R,E extends java.lang.Exception> 内の exec
パラメータ:
c - コンテキスト役。
戻り値:
返却値。
例外:
E - 例外。
E extends java.lang.Exception

getLength

public int getLength()

getFactory

public Fn<java.lang.Object,? extends Fn<? super C,? extends R,? extends E>,? extends E1> getFactory()

Woolpack API

Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.