public class JdbcCursorManager extends Object implements CursorManager
| Constructor and Description |
|---|
JdbcCursorManager(DataSource dataSource,
String consumerName) |
JdbcCursorManager(DataSource dataSource,
String consumerName,
String schema) |
JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName) |
JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName,
String schema) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cursor> |
getCursors(String eventName) |
void |
onSuccess(String eventName,
Cursor cursor) |
void |
onSuccess(String eventName,
List<Cursor> cursors) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStreamId, addSubscriptionpublic JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName,
String schema)
public JdbcCursorManager(org.springframework.jdbc.core.JdbcTemplate template,
String consumerName)
public JdbcCursorManager(DataSource dataSource, String consumerName, String schema)
public JdbcCursorManager(DataSource dataSource, String consumerName)
@Transactional public void onSuccess(String eventName, Cursor cursor) throws IOException
onSuccess in interface CursorManagerIOException@Transactional public void onSuccess(String eventName, List<Cursor> cursors) throws IOException
onSuccess in interface CursorManagerIOExceptionpublic Collection<Cursor> getCursors(String eventName) throws IOException
getCursors in interface CursorManagerIOExceptionCopyright © 2016–2017 Zalando SE. All rights reserved.