PageRangeDiff Class
- java.
lang. Object - PageRange
- com.
microsoft. azure. storage. blob. PageRangeDiff
- com.
public class PageRangeDiff extends PageRange
Represents a range of pages in a page blob which have changed since the previous snapshot specified.
Constructor Summary
Constructor | Description |
---|---|
PageRangeDiff(final long start, final long end, final boolean isCleared) |
Creates an instance of the class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isCleared()
Indicates whether the page range was cleared. |
void |
setIsCleared(final boolean isCleared)
Sets the ending offset. |
Inherited Members
Constructor Details
PageRangeDiff
protected PageRangeDiff(final long start, final long end, final boolean isCleared)
Creates an instance of the class.
Parameters:
long
which represents the starting offset.
long
which represents the ending offset.
True
if the page range is a cleared range, false
otherwise.
Method Details
isCleared
public boolean isCleared()
Indicates whether the page range was cleared.
Returns:
True
if the page range is a cleared range, false
otherwise.
setIsCleared
protected void setIsCleared(final boolean isCleared)
Sets the ending offset.
Parameters:
True
if the page range is a cleared range, false
otherwise.