Class MetaInformationManagerEJB
java.lang.Object
de.hybris.platform.persistence.ManagerEJB
de.hybris.platform.persistence.meta.MetaInformationManagerEJB
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) getPropertyRaw(String name) longReads tenant restart marker from a database which denotes time when the system was initialized.voidremoveItem(ItemRemote item) Removes an Item which is not stageable.removeProperty(String name) voidsetProperty(String name, Object value) voidsetSystemInitUpdateTimestamp(long timestamp) Methods inherited from class de.hybris.platform.persistence.ManagerEJB
canRemoveItem, ejbCreate, ejbPostCreate, getPersistencePool, isReinitialization, notifyItemRemove, prepareItemRemove
-
Constructor Details
-
MetaInformationManagerEJB
public MetaInformationManagerEJB()
-
-
Method Details
-
getPropertyNames
-
setProperty
-
getProperty
-
getPropertyRaw
-
removeProperty
-
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
-
getSystemPK
-
removeItem
Description copied from class:ManagerEJBRemoves an Item which is not stageable. The following tasks are done by this method:- Check if item is stageable; if it is, throw exception (we can
- call
ManagerEJB.prepareItemRemove(ItemRemote) - Depending on the given stagingMethod do:
Productive Stage - Remove staged copy (item.getStagedCopy()) of item, if it exist
- call NotifyManager.notifyItemRemove( item )
- Remove the entity
- Remove staged copy (item.getStagedCopy()) of item, if it exist
- Mark item as removed (item.setRemoved(true)
- Overrides:
removeItemin classManagerEJB- Throws:
ConsistencyCheckException- See Also:
-