Package si.mazi.rescu

Interface SynchronizedValueFactory<T>

All Known Implementing Classes:
LongValueFactory

public interface SynchronizedValueFactory<T>
Allows services to accept a placeholder that is replaced with generated value just before message is serialized and sent. If a method of a service accepts ValueFactory as a parameter, it's evaluated, the message is serialized and sent in a single synchronized block.
Author:
Rafał Krupiński
  • Method Summary

    Modifier and Type Method Description
    T createValue()