.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
             Checks for a valid entry corresponding to each specified key in
             the cache, and places the corresponding value in the returned
             dictionary if it is.
             
 
    Namespace: 
   Tangosol.Net.Cache
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic virtual IDictionary PeekAll(
	ICollection keys
)
Parameters
- keys
 - Type: System.CollectionsICollection
             A collection of keys to "peek" into the cache for.
              
Return Value
Type: 
IDictionary
             An 
IDictionary of keys that were found in the cache and
             their values.
             
Remarks
             For each key that is not in the cache, no entry is placed into
             the returned dictionary. The cache does not attempt to load any
             values using its cache loader.
             
             The result of this method is defined to be semantically the same
             as the following implementation, without regards to threading
             issues:
             
             IDictionary dict = new Hashtable();
            
             foreach (object key in keys)
             {
                Object value = Peek(key);
                if (value != null || Contains(key))
                {
                    dict.Add(key, value);
                }
             }
             return dict;
             
See Also