Class MetaInformationManagerEJB


  • public class MetaInformationManagerEJB
    extends ManagerEJB
    • Constructor Detail

      • MetaInformationManagerEJB

        public MetaInformationManagerEJB()
    • Method Detail

      • getPropertyNames

        public java.util.Set getPropertyNames()
      • setProperty

        public java.lang.Object setProperty​(java.lang.String name,
                                            java.lang.Object value)
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
      • getPropertyRaw

        public java.lang.Object getPropertyRaw​(java.lang.String name)
      • removeProperty

        public java.lang.Object removeProperty​(java.lang.String name)
      • setSystemInitUpdateTimestamp

        public void setSystemInitUpdateTimestamp​(long timestamp)
      • resetSystemPK

        public void resetSystemPK()
      • getSystemInitUpdateTimestamp

        public long getSystemInitUpdateTimestamp()
        Reads tenant restart marker from a database which denotes time when the system was initialized. The value only changes during system init. The value was also modified during system update in the past, but this is no longer the case. We want to minimize disruptions to system nodes during update and we rely on nodes restart to catch up with typesystem changes. Current implementation effectively makes cache_metainfo.system.initupdate.ts obsolete
        Returns:
        timestamp when system was initialized (tenant restart marker)
      • getSystemName

        public java.lang.String getSystemName()
      • getSystemPK

        public java.lang.String getSystemPK()