Interface ClusterSafetyDao

    • Method Detail

      • getSafetyNumber

        @Transactional(propagation=REQUIRES_NEW,
                       readOnly=true)
        Integer getSafetyNumber()
        Returns the current cluster safety number.
        Returns:
        the cluster safety number, or null if no cluster safety number exists.
        Throws:
        RuntimeException - if the number is not found in the db,
      • setSafetyNumber

        @Transactional(propagation=REQUIRES_NEW)
        void setSafetyNumber​(int safetyNumber)