BlockInfo takes the following to be created:
BlockInfo is created when:
BlockManageris requested to doPut
BlockInfo knows the size of the block (in bytes).
The size is
0 by default and changes when:
readerCount is the number of times that this block has been locked for reading
0 by default.
readerCount changes back to
readerCount is incremented when a read lock is acquired and decreases when the following happens:
writerTask attribute is the task ID that owns the write lock for the block or the following:
-1for no writers and hence no write lock in use
-1024for non-task threads (by a driver thread or by unit test code)
writerTask is assigned a task ID when: