1 | // $Id: PoolManagerCellInfo.java,v 1.2 2004-11-09 08:04:46 tigran Exp $ |
2 | package diskCacheV111.poolManager ; |
3 | |
4 | import java.io.* ; |
5 | import dmg.cells.nucleus.* ; |
6 | |
7 | public class PoolManagerCellInfo |
8 | extends CellInfo |
9 | implements Serializable { |
10 | |
11 | |
12 | private String [] _poolList = new String[0] ; |
13 | |
14 | private static final long serialVersionUID = -5064922519895537712L; |
15 | |
16 | PoolManagerCellInfo( CellInfo info ){ |
17 | super(info) ; |
18 | } |
19 | void setPoolList( String [] poolList ){ |
20 | _poolList = new String[poolList.length] ; |
21 | System.arraycopy( poolList , 0 , _poolList , 0 , poolList.length); |
22 | } |
23 | public String [] getPoolList(){ return _poolList ; } |
24 | public String toString(){ |
25 | StringBuffer sb = new StringBuffer() ; |
26 | sb.append(super.toString()).append(" [") ; |
27 | for( int i = 0 ; i < _poolList.length ;i++ ) |
28 | sb.append(_poolList[i]).append(",") ; |
29 | sb.append("]"); |
30 | return sb.toString() ; |
31 | } |
32 | } |