Class SandboxSourceCacheOperation<S extends net.n2oapp.framework.api.metadata.SourceMetadata>
java.lang.Object
net.n2oapp.framework.api.event.MetadataChangeListener
net.n2oapp.framework.sandbox.view.operations.SandboxSourceCacheOperation<S>
- All Implemented Interfaces:
EventListener,net.n2oapp.framework.api.event.N2oEventListener<net.n2oapp.framework.api.event.MetadataChangedEvent>,net.n2oapp.framework.api.metadata.aware.MetadataEnvironmentAware,net.n2oapp.framework.api.metadata.aware.PipelineOperationTypeAware,net.n2oapp.framework.api.metadata.pipeline.PipelineOperation<S,,S> org.springframework.context.ApplicationListener<net.n2oapp.framework.api.event.MetadataChangedEvent>
public class SandboxSourceCacheOperation<S extends net.n2oapp.framework.api.metadata.SourceMetadata>
extends net.n2oapp.framework.api.event.MetadataChangeListener
implements net.n2oapp.framework.api.metadata.pipeline.PipelineOperation<S,S>, net.n2oapp.framework.api.metadata.aware.PipelineOperationTypeAware, net.n2oapp.framework.api.metadata.aware.MetadataEnvironmentAware
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSandboxSourceCacheOperation(String projectId, net.n2oapp.cache.template.CacheTemplate cacheTemplate, net.n2oapp.framework.api.register.MetadataRegister metadataRegister) SandboxSourceCacheOperation(String projectId, org.springframework.cache.CacheManager cacheManager) -
Method Summary
Modifier and TypeMethodDescriptionexecute(net.n2oapp.framework.api.metadata.compile.CompileContext<?, ?> context, net.n2oapp.criteria.dataset.DataSet data, Supplier<S> supplier, net.n2oapp.framework.api.metadata.compile.CompileProcessor compileProcessor, net.n2oapp.framework.api.metadata.compile.BindProcessor bindProcessor, net.n2oapp.framework.api.metadata.compile.SourceProcessor sourceProcessor) net.n2oapp.framework.api.metadata.pipeline.PipelineOperationTypevoidvoidhandleMetadataChange(String id, Class<? extends net.n2oapp.framework.api.metadata.SourceMetadata> sourceClass) voidsetEnvironment(net.n2oapp.framework.api.MetadataEnvironment environment) Methods inherited from class net.n2oapp.framework.api.event.MetadataChangeListener
handleEvent, isApplyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface net.n2oapp.framework.api.event.N2oEventListener
onApplicationEvent
-
Field Details
-
CACHE_REGION
-
-
Constructor Details
-
SandboxSourceCacheOperation
public SandboxSourceCacheOperation(@NotNull String projectId, org.springframework.cache.CacheManager cacheManager) -
SandboxSourceCacheOperation
public SandboxSourceCacheOperation(@NotNull String projectId, net.n2oapp.cache.template.CacheTemplate cacheTemplate, net.n2oapp.framework.api.register.MetadataRegister metadataRegister)
-
-
Method Details
-
getPipelineOperationType
public net.n2oapp.framework.api.metadata.pipeline.PipelineOperationType getPipelineOperationType()- Specified by:
getPipelineOperationTypein interfacenet.n2oapp.framework.api.metadata.aware.PipelineOperationTypeAware
-
execute
public S execute(net.n2oapp.framework.api.metadata.compile.CompileContext<?, ?> context, net.n2oapp.criteria.dataset.DataSet data, Supplier<S> supplier, net.n2oapp.framework.api.metadata.compile.CompileProcessor compileProcessor, net.n2oapp.framework.api.metadata.compile.BindProcessor bindProcessor, net.n2oapp.framework.api.metadata.compile.SourceProcessor sourceProcessor) -
handleAllMetadataChange
public void handleAllMetadataChange()- Specified by:
handleAllMetadataChangein classnet.n2oapp.framework.api.event.MetadataChangeListener
-
handleMetadataChange
public void handleMetadataChange(String id, Class<? extends net.n2oapp.framework.api.metadata.SourceMetadata> sourceClass) - Specified by:
handleMetadataChangein classnet.n2oapp.framework.api.event.MetadataChangeListener
-
setEnvironment
public void setEnvironment(net.n2oapp.framework.api.MetadataEnvironment environment) - Specified by:
setEnvironmentin interfacenet.n2oapp.framework.api.metadata.aware.MetadataEnvironmentAware
-