org.jclouds.glesys.domain
Class ServerLimit.Builder<T extends ServerLimit.Builder<T>>

java.lang.Object
  extended by org.jclouds.glesys.domain.ServerLimit.Builder<T>
Enclosing class:
ServerLimit

public abstract static class ServerLimit.Builder<T extends ServerLimit.Builder<T>>
extends Object


Field Summary
protected  long barrier
           
protected  long failCount
           
protected  long held
           
protected  long limit
           
protected  long maxHeld
           
 
Constructor Summary
ServerLimit.Builder()
           
 
Method Summary
 T barrier(long barrier)
           
 ServerLimit build()
           
 T failCount(long failCount)
           
 T fromServerLimit(ServerLimit in)
           
 T held(long held)
           
 T limit(long limit)
           
 T maxHeld(long maxHeld)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

held

protected long held

maxHeld

protected long maxHeld

barrier

protected long barrier

limit

protected long limit

failCount

protected long failCount
Constructor Detail

ServerLimit.Builder

public ServerLimit.Builder()
Method Detail

self

protected abstract T self()

held

public T held(long held)
See Also:
ServerLimit.getHeld()

maxHeld

public T maxHeld(long maxHeld)
See Also:
ServerLimit.getMaxHeld()

barrier

public T barrier(long barrier)
See Also:
ServerLimit.getBarrier()

limit

public T limit(long limit)
See Also:
ServerLimit.getLimit()

failCount

public T failCount(long failCount)
See Also:
ServerLimit.getFailCount()

build

public ServerLimit build()

fromServerLimit

public T fromServerLimit(ServerLimit in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.