webMethods Broker Administration Java API
Version 9.5.1.0.171 091713

COM.activesw.api.client
Class BrokerTypeCache

java.lang.Object
  extended by COM.activesw.api.client.BrokerTypeCache

public class BrokerTypeCache
extends java.lang.Object

This type is used to track broker type definitions


Method Summary
static void flushCache(BrokerClient client)
          Flush all the type definitions from the cache associated with the specified client.
static void lockCache()
          Lock the cache.
static void unlockCache()
          Unlock the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

flushCache

public static void flushCache(BrokerClient client)
                       throws BrokerException
Flush all the type definitions from the cache associated with the specified client. Do not call while holding the cache lock.

Throws:
BrokerInvalidClientException - If the client is not valid.
BrokerException

lockCache

public static void lockCache()
Lock the cache. This prevents any flush operations.


unlockCache

public static void unlockCache()
Unlock the cache.


webMethods Broker Administration Java API
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.