|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.ProgressEvent
public class ProgressEvent
Notification of a progress change on an Amazon S3 transfer. Typically this means notice that another chunk of bytes was transferred, but it also signals other types of progress events such as a transfer starting, or failing.
Field Summary | |
---|---|
static int |
CANCELED_EVENT_CODE
|
static int |
COMPLETED_EVENT_CODE
|
static int |
FAILED_EVENT_CODE
|
static int |
PART_COMPLETED_EVENT_CODE
|
static int |
PART_FAILED_EVENT_CODE
|
static int |
PART_STARTED_EVENT_CODE
|
static int |
STARTED_EVENT_CODE
|
Constructor Summary | |
---|---|
ProgressEvent(int bytesTransferred)
|
Method Summary | |
---|---|
int |
getBytesTransfered()
Deprecated. Replaced by getBytesTransferred() |
int |
getBytesTransferred()
Returns the number of bytes transferred since the last progress event. |
int |
getEventCode()
Returns the unique event code that identifies what type of specific type of event this object represents. |
void |
setBytesTransfered(int bytesTransferred)
Deprecated. Replaced by #setBytesTransferred() |
void |
setBytesTransferred(int bytesTransferred)
Sets the number of bytes transferred since the last progress event. |
void |
setEventCode(int eventType)
Sets the unique event code that identifies what type of specific type of event this object represents. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STARTED_EVENT_CODE
public static final int COMPLETED_EVENT_CODE
public static final int FAILED_EVENT_CODE
public static final int CANCELED_EVENT_CODE
public static final int PART_STARTED_EVENT_CODE
public static final int PART_COMPLETED_EVENT_CODE
public static final int PART_FAILED_EVENT_CODE
Constructor Detail |
---|
public ProgressEvent(int bytesTransferred)
Method Detail |
---|
@Deprecated public void setBytesTransfered(int bytesTransferred)
#setBytesTransferred()
public void setBytesTransferred(int bytesTransferred)
bytesTransferred
- The number of bytes transferred since the last progress event.@Deprecated public int getBytesTransfered()
getBytesTransferred()
public int getBytesTransferred()
public int getEventCode()
public void setEventCode(int eventType)
eventType
- The unique event code that identifies what type of specific
type of event this object represents.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |