Class StoreJob

  • All Implemented Interfaces:
    Job
    Direct Known Subclasses:
    FloodfillStoreJob

    abstract class StoreJob
    extends JobImpl
    Stores through this always request a reply. Unused directly - see FloodfillStoreJob
    • Field Detail

      • _log

        protected final Log _log
      • MIN_STORE_ENCLS2_VERSION

        public static final String MIN_STORE_ENCLS2_VERSION
        Was supported in 38, but they're now sigtype 11 which wasn't added until 39
        Since:
        0.9.39
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Job
        Descriptive name of the task
      • runJob

        public void runJob()
        Description copied from interface: Job
        Actually perform the task. This call blocks until the Job is complete.
      • getParallelization

        protected int getParallelization()
        overridden in FSJ
      • getRedundancy

        protected int getRedundancy()
        overridden in FSJ
      • shouldStoreTo

        static boolean shouldStoreTo​(RouterInfo ri)
        Is it new enough?
        Since:
        0.9.33
      • shouldStoreLS2To

        static boolean shouldStoreLS2To​(RouterInfo ri)
        Is it new enough?
        Since:
        0.9.38
      • shouldStoreEncLS2To

        static boolean shouldStoreEncLS2To​(RouterInfo ri)
        Is it new enough?
        Since:
        0.9.39
      • succeed

        protected void succeed()
        Send was totally successful
      • fail

        protected void fail()
        Send totally failed