K
- type of key written to input topicM
- type of value written to input topicU
- type of update/model read from update topic@WebListener public final class ModelManagerListener<K,M,U> extends Object implements javax.servlet.ServletContextListener, Closeable
ServletContextListener
that initializes a ServingModelManager
at web
app startup time in the Serving Layer.Constructor and Description |
---|
ModelManagerListener() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2018. All rights reserved.