Class FileInfoJsonComparingImpl

  • All Implemented Interfaces:
    FileInfoJson

    public class FileInfoJsonComparingImpl
    extends Object
    implements FileInfoJson
    Implementation of FileInfoJson which uses FileInfoJsonOldImpl, but also runs FileInfoJsonNewImpl asynchronously and compares the results. This implementation is temporary and will be used to verify that the results are the same.
    • Constructor Detail

      • FileInfoJsonComparingImpl

        @Inject
        public FileInfoJsonComparingImpl​(com.google.gerrit.server.change.FileInfoJsonOldImpl oldImpl,
                                         FileInfoJsonNewImpl newImpl,
                                         ExecutorService executor,
                                         com.google.gerrit.server.change.FileInfoJsonComparingImpl.Metrics metrics)