public class UserBlotterManager
extends java.lang.Object
Constructor and Description |
---|
UserBlotterManager(UserBlotterFactory userBlotterFactory) |
Modifier and Type | Method and Description |
---|---|
rx.Observable<java.lang.String> |
addIfAbsentContainerObservable(java.lang.String username) |
rx.Observable<com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>> |
getRecordObservable(java.lang.String username,
java.lang.String requestId) |
void |
publishRecord(java.lang.String blotterId,
java.lang.String username,
java.util.Map<java.lang.String,java.lang.String> fields)
Use this method to update the data provider when an historical blotter update is received.
|
void |
removeContainerObservable(java.lang.String username) |
public UserBlotterManager(UserBlotterFactory userBlotterFactory)
@Nonnull public rx.Observable<java.lang.String> addIfAbsentContainerObservable(@Nonnull java.lang.String username)
public void removeContainerObservable(@Nonnull java.lang.String username)
@Nullable public rx.Observable<com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>> getRecordObservable(@Nonnull java.lang.String username, @Nonnull java.lang.String requestId)
public void publishRecord(@Nonnull java.lang.String blotterId, @Nonnull java.lang.String username, @Nonnull java.util.Map<java.lang.String,java.lang.String> fields) throws java.lang.IllegalStateException
A historicalOrder is an order received from LOMS' cache. The update will be published on a dedicated historical channel.
username
- the user the order belongs tofields
- the blotter items to be publishedjava.lang.IllegalStateException
Copyright © 2019 Caplin Systems.