Class BlotterIdCache


  • public class BlotterIdCache
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BlotterIdCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBlotterId​(java.lang.String requestId, java.lang.String orderIdOrRequestId)
      Returns the same Blotter ID every time for the given Request ID or Order/Request ID
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlotterIdCache

        public BlotterIdCache()
    • Method Detail

      • getBlotterId

        @Nullable
        public java.lang.String getBlotterId​(@Nullable
                                             java.lang.String requestId,
                                             @Nullable
                                             java.lang.String orderIdOrRequestId)
        Returns the same Blotter ID every time for the given Request ID or Order/Request ID

        The reason for this is just so that we can maintain a constant ID for the blotter record and its updates.

        Parameters:
        orderIdOrRequestId - Order/Request ID is either the Order ID or Request ID - is always present - and may change between the two, however if it is the Request ID then it will match the requestId param.
        requestId - Request ID may not be present if the order was entered via the RET applet.