PHP Class Phalcon\Annotations\Adapter\Aerospike

Stores the parsed annotations to the Aerospike database. This adapter is suitable for production. use Phalcon\Annotations\Adapter\Aerospike; $annotations = new Aerospike([ 'hosts' => [ ['addr' => '127.0.0.1', 'port' => 3000] ], 'persistent' => true, 'namespace' => 'test', 'prefix' => 'annotations_', 'lifetime' => 8600, 'options' => [ \Aerospike::OPT_CONNECT_TIMEOUT => 1250, \Aerospike::OPT_WRITE_TIMEOUT => 1500 ] ]);
Inheritance: extends Base
Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Protected Properties

Свойство Type Description
$aerospike Phalcon\Cache\Backend\Aerospike
$namespace string Default Aerospike namespace
$set string The Aerospike Set for store sessions

Méthodes publiques

Méthode Description
__construct ( array $options = [] )

Méthodes protégées

Méthode Description
getCacheBackend ( ) : Aerospike
prepareKey ( string $key ) : string

Method Details

__construct() public méthode

public __construct ( array $options = [] )
$options array Options array

getCacheBackend() protected méthode

protected getCacheBackend ( ) : Aerospike
Résultat Phalcon\Cache\Backend\Aerospike

prepareKey() protected méthode

protected prepareKey ( string $key ) : string
$key string
Résultat string

Property Details

$aerospike protected_oe property

protected Aerospike,Phalcon\Cache\Backend $aerospike
Résultat Phalcon\Cache\Backend\Aerospike

$namespace protected_oe property

Default Aerospike namespace
protected string $namespace
Résultat string

$set protected_oe property

The Aerospike Set for store sessions
protected string $set
Résultat string