You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Jon Scott Stevens <jo...@latchkey.com> on 2002/01/18 03:42:46 UTC
Re: cvs commit: jakarta-turbine-stratum/src/conf cache2.ccf
cache.ccf
on 1/17/02 6:11 PM, "asmuts@apache.org" <as...@apache.org> wrote:
> + else
> + if ( message.startsWith( "switch" ) )
> + {
> + String numS = message.substring( message.indexOf( " "
> ) + 1, message.length() );
> + try {
> + int num = Integer.parseInt( numS.trim() );
> + }
> + catch ( Exception e )
> + {
> + p( "usage: switch number" );
> + p( " 1 == testCache1" );
> + }
> + if ( numS == null )
> + {
> + p( "usage: switch number" );
> + p( " 1 == testCache1" );
> + }
> + else
> + {
> + cache_control = GroupCacheAccess.getGroupAccess(
> "testCache" + numS );
> + p( "switched to cache = " + "testCache" + numS
> );
> + p( cache_control.toString() );
> + }
> + }
Formatting.
-jon
--
Standard rules apply: Ask any questions, and you get the job. ;-)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>