00001 /* 00002 * NamedCacheDeactivationListener.hpp 00003 * 00004 * Copyright (c) 2000, 2016, 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 NamedCache#addMapListener() 00035 * method. When the NamedCache is deactivated, it will call the 00036 * #entryDeleted() method. The other event handlers are not used. 00037 * 00038 * @author jh 2013.06.27 00039 */ 00040 class COH_EXPORT NamedCacheDeactivationListener 00041 : public interface_spec<NamedCacheDeactivationListener, 00042 implements<MapListenerSupport::SynchronousListener> > 00043 { 00044 }; 00045 00046 COH_CLOSE_NAMESPACE3 00047 00048 #endif /* COH_NAMEDCACHEDEACTIVATIONLISTENER_HPP */