Beispiel #1
0
 internal CachingTask(FsDatasetCache _enclosing, ExtendedBlockId key, string blockFileName
                      , long length, long genstamp)
 {
     this._enclosing    = _enclosing;
     this.key           = key;
     this.blockFileName = blockFileName;
     this.length        = length;
     this.genstamp      = genstamp;
 }
Beispiel #2
0
 internal UncachingTask(FsDatasetCache _enclosing, ExtendedBlockId key, long revocationDelayMs
                        )
 {
     this._enclosing = _enclosing;
     this.key        = key;
     if (revocationDelayMs == 0)
     {
         this.revocationTimeMs = 0;
     }
     else
     {
         this.revocationTimeMs = revocationDelayMs + Org.Apache.Hadoop.Util.Time.MonotonicNow
                                     ();
     }
 }
Beispiel #3
0
 internal UsedBytesCount(FsDatasetCache _enclosing)
 {
     this._enclosing = _enclosing;
 }