@Test public void testFullResyncContactsDAS() throws ExecutionException { m_pmaRegistry.forceAlign("device1"); verify(m_das).forceAlign(any(), any()); }
@Override public void forceAlign(String deviceName) throws ExecutionException { executeWithPmaSession(deviceName, (PmaSessionTemplate<Void>) session -> { session.forceAlign(); return null; }); }
PmaRegistryImpl implements PmaRegistry { @Override public void forceAlign(String deviceName) throws ExecutionException { executeWithPmaSession(deviceName, (PmaSessionTemplate<Void>) session -> { session.forceAlign(); return null; }); } }
PmaRegistryImpl implements PmaRegistry { @Override public void forceAlign(String deviceName) throws ExecutionException { executeWithPmaSession(deviceName, (PmaSessionTemplate<Void>) session -> { session.forceAlign(); return null; }); } PmaRegistryImpl(DeviceManager deviceManager,
                           PmaSessionFactory factory); }
PmaRegistryImpl implements PmaRegistry { @Override public void forceAlign(String deviceName) throws ExecutionException { executeWithPmaSession(deviceName, (PmaSessionTemplate<Void>) session -> { session.forceAlign(); return null; }); } PmaRegistryImpl(DeviceManager deviceManager,
                           PmaSessionFactory factory); @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class, Exception.class}) Map<NetConfResponse, List<Notification>> executeNC(String deviceName, String netconfRequest); @Override RT executeWithPmaSession(String deviceName, PmaSessionTemplate<RT> sessionTemplate); @Override void forceAlign(String deviceName); @Override void align(String deviceName); void deviceRemoved(String deviceName); @Override NetConfResponse getAllPersistCfg(String deviceName); }
PmaRegistryImpl implements PmaRegistry { @Override public void forceAlign(String deviceName) throws ExecutionException { executeWithPmaSession(deviceName, (PmaSessionTemplate<Void>) session -> { session.forceAlign(); return null; }); } PmaRegistryImpl(DeviceManager deviceManager,
                           PmaSessionFactory factory); @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class, Exception.class}) Map<NetConfResponse, List<Notification>> executeNC(String deviceName, String netconfRequest); @Override RT executeWithPmaSession(String deviceName, PmaSessionTemplate<RT> sessionTemplate); @Override void forceAlign(String deviceName); @Override void align(String deviceName); void deviceRemoved(String deviceName); @Override NetConfResponse getAllPersistCfg(String deviceName); static final String COMPONENT_ID; }