org.jclouds.glesys.domain
Class ServerLimit

java.lang.Object
  extended by org.jclouds.glesys.domain.ServerLimit

public class ServerLimit
extends Object

Detailed information about an OpenVZ server's limits

Author:
Adam Lowe
See Also:

Nested Class Summary
static class ServerLimit.Builder<T extends ServerLimit.Builder<T>>
           
 
Constructor Summary
protected ServerLimit(long held, long maxHeld, long barrier, long limit, long failCount)
           
 
Method Summary
static ServerLimit.Builder<?> builder()
           
 boolean equals(Object obj)
           
 long getBarrier()
           
 long getFailCount()
           
 long getHeld()
           
 long getLimit()
           
 long getMaxHeld()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ServerLimit.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerLimit

@ConstructorProperties(value={"held","maxHeld","barrier","limit","failCount"})
protected ServerLimit(long held,
                                                 long maxHeld,
                                                 long barrier,
                                                 long limit,
                                                 long failCount)
Method Detail

builder

public static ServerLimit.Builder<?> builder()

toBuilder

public ServerLimit.Builder<?> toBuilder()

getHeld

public long getHeld()

getMaxHeld

public long getMaxHeld()

getBarrier

public long getBarrier()

getLimit

public long getLimit()

getFailCount

public long getFailCount()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


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