Class BatchResult<E>


  • public class BatchResult<E>
    extends Object
    Author:
    Nikita Koksharov
    • Constructor Detail

      • BatchResult

        public BatchResult​(List<E> responses,
                           int syncedSlaves)
    • Method Detail

      • getResponses

        public List<E> getResponses()
        Returns list of result objects for each command
        Returns:
        list of objects
      • getSyncedSlaves

        public int getSyncedSlaves()
        Returns amount of successfully synchronized slaves during batch execution
        Returns:
        slaves amount