org.apache.accumulo.core.client.admin
Class ActiveScan

java.lang.Object
  extended by org.apache.accumulo.core.client.admin.ActiveScan

public class ActiveScan
extends Object

A class that contains information about an ActiveScan


Method Summary
 long getAge()
           
 Authorizations getAuthorizations()
           
 String getClient()
           
 List<Column> getColumns()
           
 KeyExtent getExtent()
           
 long getIdleTime()
           
 long getLastContactTime()
           
 long getScanid()
           
 List<String> getSsiList()
           
 Map<String,Map<String,String>> getSsio()
           
 ScanState getState()
           
 String getTable()
           
 ScanType getType()
           
 String getUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getScanid

public long getScanid()
Returns:
an id that uniquely identifies that scan on the server

getClient

public String getClient()
Returns:
the address of the client that initiated the scan

getUser

public String getUser()
Returns:
the user that initiated the scan

getTable

public String getTable()
Returns:
the table the scan is running against

getAge

public long getAge()
Returns:
the age of the scan in milliseconds

getLastContactTime

public long getLastContactTime()
Returns:
milliseconds since last time client read data from the scan

getType

public ScanType getType()

getState

public ScanState getState()

getExtent

public KeyExtent getExtent()
Returns:
tablet the scan is running against, if a batch scan may be one of many or null

getColumns

public List<Column> getColumns()
Returns:
columns requested by the scan

getSsiList

public List<String> getSsiList()
Returns:
server side iterators used by the scan

getSsio

public Map<String,Map<String,String>> getSsio()
Returns:
server side iterator options

getAuthorizations

public Authorizations getAuthorizations()
Returns:
the authorizations being used for this scan
Since:
1.5.0

getIdleTime

public long getIdleTime()
Returns:
the time this scan has been idle in the tablet server
Since:
1.5.0


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.