*/
public AuxiliaryCache createCache( AuxiliaryCacheAttributes iaca )
{
ArrayList noWaits = new ArrayList();
RemoteCacheAttributes rca = ( RemoteCacheAttributes ) iaca;
// create "SYSTEM_CLUSTER" caches for potential use
if ( rca.getCacheName() == null )
{
rca.setCacheName( "SYSTEM_CLUSTER" );
}
StringTokenizer it = new StringTokenizer( rca.getClusterServers(), "," );
while ( it.hasMoreElements() )
{
//String server = (String)it.next();
String server = ( String ) it.nextElement();
//p( "tcp server = " + server );
rca.setRemoteHost( server.substring( 0, server.indexOf( ":" ) ) );
rca.setRemotePort( Integer.parseInt( server.substring( server.indexOf( ":" ) + 1 ) ) );
RemoteCacheClusterManager rcm = RemoteCacheClusterManager.getInstance( rca );
ICache ic = rcm.getCache( rca.getCacheName() );
if ( ic != null )
{
noWaits.add( ic );
}
else