@StableMinor(version="12.2", sinceVersion="8.1") public class BigDataRepositoryPreDestroyEvent extends AbstractPortalEvent
IBigDataRepository
instance is about to be destroyed in the local JVM. A
repository instance is destroyed to free up resource when it no longer will be accessed in the local JVM. A
repository being destroyed has no relationship from its data being deleted.
Observers that listen to this event will receive the notification of this event and have the last opportunity act
upon the repository instance before it is destroyed. Code requesting it using the IBigDataManager
API will
not be able to access it before it is destroyed, but may be handled another repository instance after it is
initialized.
Observers of this event must not use IBigDataManager
to access this repository as its access will be blocked
until this event resolves. Use getRepository()
instead.
BigDataRepositoryInitializedEvent
,
lumis.portal.event
Constructor and Description |
---|
BigDataRepositoryPreDestroyEvent(IBigDataRepository repository)
Creates a new event for
IBigDataRepository being initialized. |
Modifier and Type | Method and Description |
---|---|
IBigDataRepository |
getRepository()
Returns the repository that has been initialized.
|
getEventGroups, getOperationType, setEventGroups, setOperationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public BigDataRepositoryPreDestroyEvent(IBigDataRepository repository)
IBigDataRepository
being initialized.repository
- the repository.public IBigDataRepository getRepository()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.