public class CloseContext extends Object
EventProcessorClient stopped processing.| Constructor and Description |
|---|
CloseContext(PartitionContext partitionContext,
CloseReason closeReason)
Creates a new instance of CloseContext.
|
| Modifier and Type | Method and Description |
|---|---|
CloseReason |
getCloseReason()
Returns the reason for stopping the event processing.
|
PartitionContext |
getPartitionContext()
Returns the partition information for which the processing stopped.
|
public CloseContext(PartitionContext partitionContext, CloseReason closeReason)
partitionContext - The partition information for which the processing stopped.closeReason - The reason for stopping the event processing.NullPointerException - if partitionContext or closeReason is null.public PartitionContext getPartitionContext()
public CloseReason getCloseReason()
Copyright © 2021 Microsoft Corporation. All rights reserved.