| Constructor and Description |
|---|
SNManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ServiceLocator<eu.dnetlib.api.enabling.ISSNService> |
getSnLocator() |
int |
getThreadPoolSize() |
int |
getTimeToLive() |
void |
init() |
void |
notify(eu.dnetlib.domain.enabling.Notification notification) |
void |
setSnLocator(ServiceLocator<eu.dnetlib.api.enabling.ISSNService> snLocator) |
void |
setThreadPoolSize(int threadPoolSize) |
void |
setTimeToLive(int timeToLive) |
void |
shutdown() |
void |
subscribe(eu.dnetlib.domain.enabling.Subscription sub,
NotificationListener listener) |
void |
unsubscribe(NotificationListener listener) |
void |
unsubscribe(eu.dnetlib.domain.enabling.Subscription sub,
NotificationListener listener) |
public void init()
public void subscribe(eu.dnetlib.domain.enabling.Subscription sub,
NotificationListener listener)
public void unsubscribe(eu.dnetlib.domain.enabling.Subscription sub,
NotificationListener listener)
unsubscribe in interface SNManagerpublic void unsubscribe(NotificationListener listener)
unsubscribe in interface SNManagerpublic void notify(eu.dnetlib.domain.enabling.Notification notification)
public void shutdown()
public ServiceLocator<eu.dnetlib.api.enabling.ISSNService> getSnLocator()
public void setSnLocator(ServiceLocator<eu.dnetlib.api.enabling.ISSNService> snLocator)
public int getTimeToLive()
public void setTimeToLive(int timeToLive)
public int getThreadPoolSize()
public void setThreadPoolSize(int threadPoolSize)
Copyright © 2019. All rights reserved.