Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
00001 /* 00002 * AbstractCacheLoader.hpp 00003 * 00004 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 00005 * 00006 * Oracle is a registered trademarks of Oracle Corporation and/or its 00007 * affiliates. 00008 * 00009 * This software is the confidential and proprietary information of Oracle 00010 * Corporation. You shall not disclose such confidential and proprietary 00011 * information and shall use it only in accordance with the terms of the 00012 * license agreement you entered into with Oracle. 00013 * 00014 * This notice may not be removed or altered. 00015 */ 00016 #ifndef COH_ABSTRACT_CACHE_LOADER_HPP 00017 #define COH_ABSTRACT_CACHE_LOADER_HPP 00018 00019 #include "coherence/lang.ns" 00020 00021 #include "coherence/net/cache/CacheLoader.hpp" 00022 #include "coherence/util/Collection.hpp" 00023 #include "coherence/util/Map.hpp" 00024 00025 COH_OPEN_NAMESPACE3(coherence,net,cache) 00026 00027 using coherence::util::Collection; 00028 using coherence::util::Map; 00029 00030 00031 /** 00032 * An abstract base class for CacheLoader implementations. 00033 * 00034 * @author jh 2008.03.12 00035 */ 00036 class COH_EXPORT AbstractCacheLoader 00037 : public abstract_spec<AbstractCacheLoader, 00038 extends<Object>, 00039 implements<CacheLoader> > 00040 { 00041 // ----- CacheLoader interface ------------------------------------------ 00042 00043 public: 00044 /** 00045 * {@inheritDoc} 00046 */ 00047 virtual Map::View loadAll(Collection::View vColKeys); 00048 }; 00049 00050 COH_CLOSE_NAMESPACE3 00051 00052 #endif // COH_ABSTRACT_CACHE_LOADER_HPP