Class SCMPCacheId

java.lang.Object
org.serviceconnector.scmp.SCMPCacheId

public class SCMPCacheId extends Object
The Class SCMPCacheId. Responsible to provide correct cache id for a specific request/response. Cache id is unique for every message. Format: CacheId / SequenceNr.
Author:
JTraber
  • Constructor Details

    • SCMPCacheId

      public SCMPCacheId()
      Instantiates a new cache id.
    • SCMPCacheId

      public SCMPCacheId(String cacheId)
      Instantiates a new sCMP cache id.
      Parameters:
      cacheId - the cache id
    • SCMPCacheId

      public SCMPCacheId(String cacheId, String sequenceNr)
      Instantiates a new sCMP cache id.
      Parameters:
      cacheId - the cache id
      sequenceNr - the sequence nr
  • Method Details

    • getCacheId

      public String getCacheId()
      Gets the cache id.
      Returns:
      the cache id
    • getFullCacheId

      public String getFullCacheId()
      Gets the full cache id.
      Returns:
      the full cache id
    • getSequenceNr

      public String getSequenceNr()
      Gets the sequence nr.
      Returns:
      the sequence nr
    • setSequenceNr

      public void setSequenceNr(String sequenceNr)
      Sets the sequence nr.
      Parameters:
      sequenceNr - the new sequence nr
    • reset

      public void reset()
      Reset.
    • toString

      public String toString()
      Overrides:
      toString in class Object