Package: IO\Data\store Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2016 10 28 Since: PHPBoost 3.0 - 2009 09 16 Contributor: Loic ROUCHON Contributor: Julien BRISWALTER Contributor: Arnaud GENET Located at: io/data/store/APCDataStore.class.php

This data store is not already available, the APC PHP extension must be enabled for you yo use it. When it's available, it provides a memory area that is persistent (its life span is no the page execution) and shared by all simultaneous page executions. This is very efficient and has an infinite life span (in fact it's the Web server's one).

APCDataStore implements DataStore
Methods summary
# __construct( $cache_id )
public mixed
# get( string $id )

Returns the data stored in the $id key.

public boolean
# contains( string $id )

Tells whether the container contains the data at the key $id.

# store( string $id, mixed $object )

Stores data.

# delete( string $id )

Deletes the data you had stored.

# clear( )

Clears all data