CacheClientNotifier { public static boolean singletonHasClientProxies() { CacheClientNotifier instance = ccnSingleton; if (instance != null) { return instance.hasClientProxies(); } return false; } private  CacheClientNotifier(InternalCache cache,
      ClientRegistrationEventQueueManager clientRegistrationEventQueueManager,
      StatisticsClock statisticsClock,
      CacheServerStats acceptorStats,
      int maximumMessageCount,
      int messageTimeToLive,
      ConnectionListener listener,
      boolean isGatewayReceiver,
      CacheClientProxyFactory cacheClientProxyFactory); static synchronized CacheClientNotifier getInstance(InternalCache cache,
      ClientRegistrationEventQueueManager clientRegistrationEventQueueManager,
      StatisticsClock statisticsClock,
      CacheServerStats acceptorStats,
      int maximumMessageCount,
      int messageTimeToLive,
      ConnectionListener listener,
      OverflowAttributes overflowAttributes,
      boolean isGatewayReceiver); static CacheClientNotifier getInstance(); @VisibleForTesting static void resetInstance(); void registerClient(final ClientRegistrationMetadata clientRegistrationMetadata,
      final Socket socket, final boolean isPrimary, final long acceptorId,
      final boolean notifyBySubscription); void makePrimary(ClientProxyMembershipID proxyId, boolean isClientReady); boolean processDispatchedMessage(ClientProxyMembershipID proxyId, EventID eid); void setKeepAlive(ClientProxyMembershipID membershipID, boolean keepAlive); void readyForEvents(ClientProxyMembershipID proxyId); static void notifyClients(InternalCacheEvent event); static boolean singletonHasClientProxies(); static void notifyClients(InternalCacheEvent event, ClientUpdateMessage cmsg); static void routeClientMessage(Conflatable clientMessage); void registerClientInterest(String regionName, Object keyOfInterest,
      ClientProxyMembershipID membershipID, int interestType, boolean isDurable,
      boolean sendUpdatesAsInvalidates, boolean manageEmptyRegions, int regionDataPolicy,
      boolean flushState); void updateMapOfEmptyRegions(Map regionsWithEmptyDataPolicy, String regionName,
      int regionDataPolicy); void unregisterClientInterest(String regionName, Object keyOfInterest, int interestType,
      boolean isClosing, ClientProxyMembershipID membershipID, boolean keepalive); void registerClientInterest(String regionName, List keysOfInterest,
      ClientProxyMembershipID membershipID, boolean isDurable, boolean sendUpdatesAsInvalidates,
      boolean manageEmptyRegions, int regionDataPolicy, boolean flushState); void unregisterClientInterest(String regionName, List keysOfInterest, boolean isClosing,
      ClientProxyMembershipID membershipID, boolean keepalive); CacheClientProxy getClientProxy(ClientProxyMembershipID membershipID); CacheClientProxy getClientProxy(ClientProxyMembershipID membershipID,
      boolean proxyInInitMode); CacheClientProxy getClientProxy(String durableClientId); CacheClientProxy getClientProxy(String durableClientId, boolean proxyInInitMode); synchronized void shutdown(long acceptorId); Set getActiveClients(); Map getAllClients(); boolean hasDurableClient(String durableId); boolean hasPrimaryForDurableClient(String durableId); Map getClientQueueSizes(); int getDurableClientHAQueueSize(String durableClientId); boolean closeClientCq(String durableClientId, String clientCQName); Collection<CacheClientProxy> getClientProxies(); boolean closeDurableClientProxy(String durableClientId); void registerInterestRegistrationListener(InterestRegistrationListener listener); void unregisterInterestRegistrationListener(InterestRegistrationListener listener); Set getInterestRegistrationListeners(); CacheClientNotifierStats getStats(); InternalCache getCache(); void addCompiledQuery(DefaultQuery query); Query getCompiledQuery(String queryString); long getLogFrequency(); Map getHaContainer(); @VisibleForTesting static CacheClientNotifierProvider singletonProvider(); @VisibleForTesting static Supplier<CacheClientNotifier> singletonGetter(); @VisibleForTesting void addClientProxyToMap(CacheClientProxy proxy); static final long DEFAULT_LOG_FREQUENCY; @MakeNotStatic
  static int eventEnqueueWaitTime; }
@Test public void testSingletonHasClientProxiesFalseNoCCN() { assertFalse(CacheClientNotifier.singletonHasClientProxies()); }