/** * <p>getConfig</p> * * @return Returns the config. */ protected Outages getObject() { getReadLock().lock(); try { return getContainer().getObject(); } finally { getReadLock().unlock(); } }
/** * Return the outages configured. * * @return the outages configured */ public List<Outage> getOutages() { getReadLock().lock(); try { return getObject().getOutages(); } finally { getReadLock().unlock(); } }
/** * Return the specified outage. * * @param name * the outage that is to be looked up * @return the specified outage, null if not found */ public Outage getOutage(final String name) { getReadLock().lock(); try { return getObject().getOutage(name); } finally { getReadLock().unlock(); } }