共用方式為


PageRangeDiff Class

  • java.lang.Object
    • PageRange
      • com.microsoft.azure.storage.blob.PageRangeDiff

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:

start - A long which represents the starting offset.
end - A long which represents the ending offset.
isCleared -

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:

isCleared -

True if the page range is a cleared range, false otherwise.

Applies to