* todo This is used in a thread unsafe manner.
*/
public void addSecondaryDevice(String hdr, DefaultDevice dev) {
synchronized (cacheLock) {
if (secondaryDevices == null) {
secondaryDevices = new ArrayCache(5);
}
// InternalDevice may have been added in the meantime. If so dont add this one
// but check that it is consistant.
Device newDev = (DefaultDevice) secondaryDevices.get(hdr);