# Class Stats

Returns statistics about the load balancer.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\LoadBalancer\Resource\AbstractResource
  OpenCloud\LoadBalancer\Resource\ReadOnlyResource
  OpenCloud\LoadBalancer\Resource\Stats

Namespace: OpenCloud\LoadBalancer\Resource
Link: http://docs.rackspace.com/loadbalancers/api/v1.0/clb-devguide/content/List_Load_Balancer_Stats-d1e1524.html
Located at OpenCloud/LoadBalancer/Resource/Stats.php

Methods summary
`public Guzzle\Http\Message\Response` | # `refresh( null $id = null, null $url = null )` Refresh the state of a resource Refresh the state of a resource #### Parameters $id `null` $id $url `null` $url #### Returns `Guzzle\Http\Message\Response` #### Throws `IdRequiredError` #### Overrides `OpenCloud\LoadBalancer\Resource\AbstractResource::refresh()`

Methods inherited from OpenCloud\LoadBalancer\Resource\ReadOnlyResource
`create(), delete(), update()`

Methods inherited from OpenCloud\LoadBalancer\Resource\AbstractResource
`createJson(), refreshFromParent(), updateJson()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), getAlias(), noCreate(), noDelete(), noUpdate(), refreshFromLocationUrl(), waitFor()`

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public integer` | $connectTimeOut | `` | # Connections closed by this load balancer because the 'connect_timeout' interval was exceeded. Connections closed by this load balancer because the 'connect_timeout' interval was exceeded.
`public integer` | $connectError | `` | # Number of transaction or protocol errors in this load balancer. Number of transaction or protocol errors in this load balancer.
`public integer` | $connectFailure | `` | # Number of connection failures in this load balancer. Number of connection failures in this load balancer.
`public integer` | $dataTimedOut | `` | # Connections closed by this load balancer because the 'timeout' interval was exceeded. Connections closed by this load balancer because the 'timeout' interval was exceeded.
`public integer` | $keepAliveTimedOut | `` | # Connections closed by this load balancer because the 'keepalive_timeout' interval was exceeded. Connections closed by this load balancer because the 'keepalive_timeout' interval was exceeded.
`public integer` | $maxConn | `` | # Maximum number of simultaneous TCP connections this load balancer has processed at any one time. Maximum number of simultaneous TCP connections this load balancer has processed at any one time.
`protected static boolean` | $json_name | `false` | #
`protected static string` | $url_resource | `'stats'` | #

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$metadata, $parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`