Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


psr:psr16

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
psr:psr16 [2020/08/04 20:21]
y2sunlight [1.4 データ]
psr:psr16 [2020/09/01 11:54] (現在)
tanaka [PSR-16: Common Interface for Caching Libraries]
行 22: 行 22:
   * [[psr:psr17|PSR-17: HTTP Factories - HTTPファクトリー]]    * [[psr:psr17|PSR-17: HTTP Factories - HTTPファクトリー]] 
   * [[psr:psr18|PSR-18: HTTP Client - HTTPクライアント]]    * [[psr:psr18|PSR-18: HTTP Client - HTTPクライアント]] 
-  * [[psr:psr19|PSR-19: PHPDoc tags - PHPDocタグ]] +  * [[psr:psr19|PSR-19: PHPDoc tags(Draft) - PHPDocタグ]] 
  
 ----- -----
行 92: 行 92:
  
 ===== 2.1 CacheInterface ===== ===== 2.1 CacheInterface =====
- 
-The cache interface defines the most basic operations on a collection of cache-entries, which entails basic reading, writing and deleting individual cache items. 
  
 キャッシュインターフェースは、キャッシュエントリのコレクションに対する最も基本的な操作を定義します。これには、個々のキャッシュアイテムの基本的な読み取り、書き込み、削除が伴います。 キャッシュインターフェースは、キャッシュエントリのコレクションに対する最も基本的な操作を定義します。これには、個々のキャッシュアイテムの基本的な読み取り、書き込み、削除が伴います。
  
-In addition, it has methods for dealing with multiple sets of cache entries such as writing, reading or deleting multiple cache entries at a time. This is useful when you have lots of cache reads/writes to perform, and lets you perform your operations in a single call to the cache server cutting down latency times dramatically.+さらに、キャッシュエントリの複数のセットを処理するメソッドがあります。これらには、一度に複数のキャッシュエントリの書き込み、読み取り、削除などがあります。これは、実行するキャッシュの読み取り/書き込みが多い場合に役立ち、キャッシュサーバーへの1回の呼び出しで操作を実行し、待ち時間を大幅に短縮できます。
  
-さらに、キャッシュトリ複数のセット処理するメソッドがあります。は、一度複数キャッシュエントリの書き込み、読み取り、削除があります。これは実行するキャッシュの読み取り/書き込みが多い場合ちます。キャッシュサーバーへの1回の呼び出しで操作を実行して、待ち時間を大幅に短縮できます。+CacheInterfaceのインスタンスは、キャッシュアイテムの単一のコレクショに対応し、それは、単一キー名前空間持っています。またそれは、PSR-6の「プール」相当します。異なるCacheInterfaceスタンスは同じデータスアによってサポートされる場合がありますが( ''MAY'' )論理的立している必要があります( ''MUST'' )
  
-An instance of CacheInterface corresponds to a single collection of cache items with a single key namespace, and is equivalent to a “Pool” in PSR-6. Different CacheInterface instances MAY be backed by the same datastore, but MUST be logically independent. +>''上記の原文'' 
- +>An instance of CacheInterface corresponds to a single collection of cache items with a single key namespace, and is equivalent to a “Pool” in PSR-6. Different CacheInterface instances MAY be backed by the same datastore, but MUST be logically independent.
-CacheInterfaceのインスタンスは、キャッシュアイテムの単一のコレクションに対応し、それは、単一のキー名前空間を持っています。またそれは、PSR-6の「プール」に相当します。異なるCacheInterfaceのインスタンスは同じデータストアによってサポートされる場合がありますが( ''MAY'' )、論理的に独立している必要があります( ''MUST'' )。+
  
 <code php CacheInterface.php> <code php CacheInterface.php>
psr/psr16.1596540080.txt.gz · 最終更新: 2020/08/04 20:21 by y2sunlight