Package lumis.portal.bigdata
Class BigDataRepositoryPreDestroyEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.bigdata.BigDataRepositoryPreDestroyEvent
-
- All Implemented Interfaces:
IPortalEvent
@StableMinor(version="17.0", sinceVersion="8.1") public class BigDataRepositoryPreDestroyEvent extends AbstractPortalEvent
Event that indicates that aIBigDataRepository
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. UsegetRepository()
instead.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
- See Also:
BigDataRepositoryInitializedEvent
,lumis.portal.event
-
-
Constructor Summary
Constructors Constructor Description BigDataRepositoryPreDestroyEvent(IBigDataRepository repository)
Creates a new event forIBigDataRepository
being initialized.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBigDataRepository
getRepository()
Returns the repository that has been initialized.-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
BigDataRepositoryPreDestroyEvent
public BigDataRepositoryPreDestroyEvent(IBigDataRepository repository)
Creates a new event forIBigDataRepository
being initialized.- Parameters:
repository
- the repository.- Since:
- 8.1.0
-
-
Method Detail
-
getRepository
public IBigDataRepository getRepository()
Returns the repository that has been initialized.- Returns:
- the repository.
- Since:
- 8.1.0
-
-