ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilGlobalCacheServiceInterface.php
Go to the documentation of this file.
1 <?php
2 
26 {
31  public function unserialize($serialized_value);
32 
36  public function get(string $key);
37 
41  public function set(string $key, $serialized_value, int $ttl = null): bool;
42 
43  public function getServiceId(): string;
44 
45  public function setServiceId(string $service_id): void;
46 
47  public function getComponent(): string;
48 
49  public function setComponent(string $component): void;
50 
51  public function isActive(): bool;
52 
53  public function isInstallable(): bool;
54 
55  public function returnKey(string $key): string;
56 
57  public function getInfo(): array;
58 
59  public function getInstallationFailureReason(): string;
60 
61  public function exists(string $key): bool;
62 
63  public function delete(string $key): bool;
64 
65  public function flush(bool $complete = false): bool;
66 
67  public function setServiceType(int $service_type);
68 
69  public function getServiceType(): int;
70 
74  public function setValid(string $key): void;
75 
79  public function isValid(string $key): bool;
80 }
flush(bool $complete=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
unserialize($serialized_value)
setServiceType(int $service_type)
string $key
Consumer key/client ID value.
Definition: System.php:193
setComponent(string $component)
setServiceId(string $service_id)
setValid(string $key)
Declare a key as valid.
isValid(string $key)
Checks whether the cache key is valid or not.