public class Upload extends Entity
Upload
class represents an in-progress oneshot upload. Use this
class to query the state of the upload.Index.upload(java.lang.String)
Modifier and Type | Method and Description |
---|---|
int |
getBytesIndexed()
Returns the number of bytes that are currently indexed.
|
int |
getOffset()
Returns the current offset.
|
int |
getSize()
Returns the current size.
|
int |
getSourcesIndexed()
Returns the number of sources that are indexed.
|
Date |
getSpoolTime()
Returns the start time of the upload that is being indexed.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public int getBytesIndexed()
public int getOffset()
public int getSize()
public int getSourcesIndexed()
public Date getSpoolTime()
Copyright © 2022 Splunk, Inc.. All rights reserved.