auxiliary-builds/javagroups/src/java/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCache.java [223:297]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        dispatcher.stop();

        // Now we can disconnect from the group and close the channel

        channel.disconnect();
        channel.close();

        status = CacheStatus.DISPOSED;

        log.info( "Disposed for cache: " + cacheName );
    }

    /**
     * Since this is a lateral, size is not defined.
     *
     * @return Always returns 0
     */
    public int getSize()
    {
        return 0;
    }

    /**
     * Returns the status of this auxiliary.
     *
     * @return One of the status constants from {@link CacheConstants}
     */
    public int getStatus()
    {
        return status;
    }

    /**
     * Accessor for cacheName property
     *
     * @return Name of cache / region this auxiliary is associated with.
     */
    public String getCacheName()
    {
        return cacheName;
    }

    /**
     * Not implemented (I believe since get is not supported, this should also
     * not be).
     *
     * @param group Ignored
     * @return Always reurns null
     */
    public Set<K> getGroupKeys( String group )
    {
        return null;
    }

    /**
     * Gets the cache type (always Lateral).
     *
     * @return Always returns ICacheType.LATERAL_CACHE
     */
    public int getCacheType()
    {
        return ICacheType.LATERAL_CACHE;
    }

    /**
     * Handles a message from a peer. The message should contain a Request,
     * and depending on the command this will call localUpdate, localRemove,
     * or localRemoveAll on the associated CompositeCache.
     *
     * @param msg The JavaGroups Message
     * @return Always returns null
     */
    public Object handle( Message msg )
    {
        try
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



auxiliary-builds/jdk14/src/java/org/apache/commons/jcs/auxiliary/javagroups/JavaGroupsCache.java [231:307]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        dispatcher.stop();

        // Now we can disconnect from the group and close the channel

        channel.disconnect();
        channel.close();

        status = CacheStatus.DISPOSED;

        log.info( "Disposed for cache: " + cacheName );
    }

    /**
     * Since this is a lateral, size is not defined.
     *
     * @return Always returns 0
     */
    public int getSize()
    {
        return 0;
    }

    /**
     * Returns the status of this auxiliary.
     *
     * @return One of the status constants from {@link CacheConstants}
     */
    public int getStatus()
    {
        return status;
    }

    /**
     * Accessor for cacheName property
     *
     * @return Name of cache / region this auxiliary is associated with.
     */
    public String getCacheName()
    {
        return cacheName;
    }

    /**
     * Not implemented (I believe since get is not supported, this should also
     * not be).
     *
     * @param group
     *            Ignored
     * @return Always reurns null
     */
    public Set<K> getGroupKeys( String group )
    {
        return null;
    }

    /**
     * Gets the cache type (always Lateral).
     *
     * @return Always returns ICacheType.LATERAL_CACHE
     */
    public int getCacheType()
    {
        return ICacheType.LATERAL_CACHE;
    }

    /**
     * Handles a message from a peer. The message should contain a Request, and
     * depending on the command this will call localUpdate, localRemove, or
     * localRemoveAll on the associated CompositeCache.
     *
     * @param msg
     *            The JavaGroups Message
     * @return Always returns null
     */
    public Object handle( Message msg )
    {
        try
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



