forked from Ostico/PhpOrient
-
Notifications
You must be signed in to change notification settings - Fork 13
PhpOrient Protocols Common ClusterMap
Domenico Lupinetti edited this page Jan 1, 2015
·
4 revisions
Class ClusterMap
- Class name: ClusterMap
- Namespace: PhpOrient\Protocols\Common
- This class implements: PhpOrient\Protocols\Common\ConfigurableInterface, ArrayAccess, Countable, Iterator
protected array $dataClusters
- Visibility: protected
protected array $reverseMap
- Visibility: protected
protected array $reverseIDMap
- Visibility: protected
protected integer $servers
- Visibility: protected
protected string $release
- Visibility: protected
protected mixed $internal_position
- Visibility: protected
integer PhpOrient\Protocols\Common\ClusterMap::getServers()
- Visibility: public
string PhpOrient\Protocols\Common\ClusterMap::getRelease()
- Visibility: public
\PhpOrient\Protocols\Common\ConfigurableInterface PhpOrient\Protocols\Common\ConfigurableInterface::configure(array $options)
- Visibility: public
- This method is defined by PhpOrient\Protocols\Common\ConfigurableInterface
- $options array
The options for the object.
array<mixed,integer>|array<mixed,string> PhpOrient\Protocols\Common\ClusterMap::getIdList()
- Visibility: public
integer|null PhpOrient\Protocols\Common\ClusterMap::getClusterID($name)
- Visibility: public
- $name mixed
mixed PhpOrient\Protocols\Common\ClusterMap::dropClusterID($ID)
- Visibility: public
- $ID mixed
boolean PhpOrient\Protocols\Common\ClusterMap::offsetExists(mixed $name)
Whether a offset exists
- Visibility: public
- $name mixed
An offset to check for.
integer|null PhpOrient\Protocols\Common\ClusterMap::offsetGet(mixed $name)
Offset to retrieve
- Visibility: public
- $name mixed
The offset to retrieve.
void PhpOrient\Protocols\Common\ClusterMap::offsetSet(mixed $name, mixed $value)
Offset to set
- Visibility: public
- $name mixed
The offset to assign the value to.
- $value mixed
The value to set.
void PhpOrient\Protocols\Common\ClusterMap::offsetUnset(mixed $name)
Offset to unset
- Visibility: public
- $name mixed
The offset to unset.
integer PhpOrient\Protocols\Common\ClusterMap::count()
Count elements of an object
- Visibility: public
void PhpOrient\Protocols\Common\ClusterMap::next()
Move forward to next element
- Visibility: public
mixed PhpOrient\Protocols\Common\ClusterMap::key()
Return the key of the current element
- Visibility: public
boolean PhpOrient\Protocols\Common\ClusterMap::valid()
Checks if current position is valid
- Visibility: public
void PhpOrient\Protocols\Common\ClusterMap::rewind()
Rewind the Iterator to the first element
- Visibility: public
mixed PhpOrient\Protocols\Common\ClusterMap::current()
Return the current element
- Visibility: public
static PhpOrient\Protocols\Common\ClusterMap::fromConfig(array $options)
- Visibility: public
- This method is static.
- $options array
The options for the newly created class instance.