public class ConsumerState
extends java.lang.Object
Title: Framework Support Library
Description: Define a current state of the Consumer.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static class |
ConsumerState.WorkingState |
Constructor and Description |
---|
ConsumerState() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventId()
Returns an identifier of the event which is being processed by the consumer at present.
|
byte[] |
getEventSource()
Returns a source of the event which is being processed by the consumer at present.
|
long |
getStartTime()
Returns a time when the consumer started a current processing.
|
ConsumerState.WorkingState |
getWorkingState()
Returns a current working state of the consumer.
|
public ConsumerState.WorkingState getWorkingState()
public java.lang.String getEventId()
null
if the consumer is free.public byte[] getEventSource()
null
if the consumer is free.public long getStartTime()
-1
if the consumer is free.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.