Class BaseAerospikePersistenceEntityIndexCreator
java.lang.Object
org.springframework.data.aerospike.index.BaseAerospikePersistenceEntityIndexCreator
- All Implemented Interfaces:
EventListener,ApplicationListener<MappingContextEvent<?,,?>> Lifecycle,Phased,SmartLifecycle
- Direct Known Subclasses:
AerospikePersistenceEntityIndexCreator,ReactiveAerospikePersistenceEntityIndexCreator
public abstract class BaseAerospikePersistenceEntityIndexCreator
extends Object
implements ApplicationListener<MappingContextEvent<?,?>>, SmartLifecycle
- Author:
- Taras Danylchuk
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonApplicationEvent(MappingContextEvent<?, ?> event) voidstart()voidstop()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Constructor Details
-
BaseAerospikePersistenceEntityIndexCreator
public BaseAerospikePersistenceEntityIndexCreator()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<MappingContextEvent<?,?>>
-
start
public void start() -
stop
public void stop() -
isRunning
public boolean isRunning()
-