public class LongResult extends Object implements EventResult<Long,EventContext>
Constructor and Description |
---|
LongResult(EventContext context) |
LongResult(long count,
EventContext context) |
Modifier and Type | Method and Description |
---|---|
EventContext |
getContext()
Specifies the context to the event.
|
Long |
getResponse()
Returns the response returned from the event.
|
public LongResult(EventContext context)
public LongResult(long count, EventContext context)
public EventContext getContext()
EventResult
getContext
in interface EventResult<Long,EventContext>
public Long getResponse()
Returns the response returned from the event.
getResponse
in interface EventResult<Long,EventContext>
Copyright © 2018 WSO2. All rights reserved.