다음을 통해 공유


CloseHandlesInfo Class

  • java.lang.Object
    • com.azure.storage.file.share.models.CloseHandlesInfo

public class CloseHandlesInfo

Contains close handles information from the storage File service.

Constructor Summary

Constructor Description
CloseHandlesInfo(Integer closedHandles)

Creates an instance of information about close handles.

CloseHandlesInfo(Integer closedHandles, Integer failedHandles)

Creates an instance of information about close handles.

Method Summary

Modifier and Type Method and Description
int getClosedHandles()

Gets the number of handles closed.

int getFailedHandles()

Gets the number of handles that failed to close.

Methods inherited from java.lang.Object

Constructor Details

CloseHandlesInfo

public CloseHandlesInfo(Integer closedHandles)

Creates an instance of information about close handles.

Parameters:

closedHandles - The numbers of handles closed. Note : Failed handles was added as a parameter, default value for failed handles is 0

CloseHandlesInfo

public CloseHandlesInfo(Integer closedHandles, Integer failedHandles)

Creates an instance of information about close handles.

Parameters:

closedHandles - The numbers of handles closed.
failedHandles - The numbers of handles that failed to close.

Method Details

getClosedHandles

public int getClosedHandles()

Gets the number of handles closed.

Returns:

The number of handles closed.

getFailedHandles

public int getFailedHandles()

Gets the number of handles that failed to close.

Returns:

The number of handles that failed to close.

Applies to