Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.4.0)

E90870-01

coherence/internal/net/NamedCacheDeactivationListener.hpp

00001 /*
00002 * NamedCacheDeactivationListener.hpp
00003 *
00004 * Copyright (c) 2000, 2019, 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_NAMEDCACHEDEACTIVATIONLISTENER_HPP
00017 #define COH_NAMEDCACHEDEACTIVATIONLISTENER_HPP
00018 
00019 #include "coherence/lang.ns"
00020 
00021 #include "coherence/util/MapListenerSupport.hpp"
00022 
00023 COH_OPEN_NAMESPACE3(coherence,internal,net)
00024 
00025 using namespace coherence::lang;
00026 
00027 using coherence::util::MapListenerSupport;
00028 
00029 /**
00030  * Pseudo MapListener that can be used to listen for a deactivation event
00031  * from a NamedCache.
00032  *
00033  * Instances of this interface can be added to a NamedCache with the single
00034  * parameter addMapListener()method. The reason for calling 
00035  * each method is defined below:
00036  * <ol>
00037  *     <li>entryDeleted - a cache has been destroyed</li>
00038  *     <li>entryUpdated - a cache has been truncated.</li>
00039  *     <li>entryInserted - Unused.</li>
00040  * </ol>
00041  *
00042  * @author jh 2013.06.27
00043  */
00044 class COH_EXPORT NamedCacheDeactivationListener
00045     : public interface_spec<NamedCacheDeactivationListener,
00046             implements<MapListenerSupport::SynchronousListener> >
00047     {
00048     };
00049 
00050 COH_CLOSE_NAMESPACE3
00051 
00052 #endif /* COH_NAMEDCACHEDEACTIVATIONLISTENER_HPP */
Copyright © 2000, 2019, Oracle and/or its affiliates. All rights reserved.