@Internal public class FileStoreEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileStoreEvent.Outcome
An operation's outcome may be a 'success', a 'failure' (server returned a failure), or an 'exception' (i.e.
|
Modifier and Type | Field and Description |
---|---|
static String |
NONE_FILESTORE_ID |
Modifier and Type | Method and Description |
---|---|
static FileStoreEvent |
exception(String method,
String fileStoreId,
long duration,
com.atlassian.media.client.api.Failure failure,
Throwable t,
Map<String,Object> metaData) |
static FileStoreEvent |
exception(String method,
String fileStoreId,
long duration,
com.atlassian.filestore.client.api.Failure failure,
Throwable t,
Map<String,Object> metaData) |
static FileStoreEvent |
failure(String method,
String fileStoreId,
long duration,
com.atlassian.media.client.api.Failure failure,
Map<String,Object> metaData) |
static FileStoreEvent |
failure(String method,
String fileStoreId,
long duration,
com.atlassian.filestore.client.api.Failure failure,
Map<String,Object> metaData) |
long |
getDuration() |
String |
getEventName() |
String |
getFileStoreId() |
Map<String,Object> |
getMetaData() |
String |
getMethod() |
FileStoreEvent.Outcome |
getOutcome() |
static FileStoreEvent |
success(String method,
String fileStoreId,
long duration,
Map<String,Object> metaData) |
public static final String NONE_FILESTORE_ID
public static FileStoreEvent success(String method, String fileStoreId, long duration, Map<String,Object> metaData)
public static FileStoreEvent failure(String method, String fileStoreId, long duration, com.atlassian.media.client.api.Failure failure, Map<String,Object> metaData)
public static FileStoreEvent failure(String method, String fileStoreId, long duration, com.atlassian.filestore.client.api.Failure failure, Map<String,Object> metaData)
public static FileStoreEvent exception(String method, String fileStoreId, long duration, com.atlassian.media.client.api.Failure failure, Throwable t, Map<String,Object> metaData)
public static FileStoreEvent exception(String method, String fileStoreId, long duration, com.atlassian.filestore.client.api.Failure failure, Throwable t, Map<String,Object> metaData)
public String getEventName()
public FileStoreEvent.Outcome getOutcome()
public String getMethod()
public long getDuration()
public String getFileStoreId()
Copyright © 2003–2017 Atlassian. All rights reserved.