public class LogStore
extends org.jboss.gwt.circuit.ChangeSupport
LogFile.| Modifier and Type | Class and Description |
|---|---|
static class |
LogStore.PendingStreamingRequest |
| Modifier and Type | Field and Description |
|---|---|
protected LogFile |
activeLogFile
The selected log file
|
static String |
FILE_NAME |
static String |
FILE_SIZE |
static String |
LAST_MODIFIED_TIME |
static String |
LAST_MODIFIED_TIMESTAMP |
protected List<ModelNode> |
logFiles
Log files of the selected server.
|
protected int |
pageSize
The number of lines which is displayed in the log view.
|
protected boolean |
pauseFollow
Flag to pause the
LogStore.RefreshLogFile command
when the related log view is no longer visible. |
protected LogStore.PendingStreamingRequest |
pendingStreamingRequest
Pending streaming request.
|
protected Map<String,LogFile> |
states
Open logs with the name of the log file as key and the related state as value.
|
| Constructor and Description |
|---|
LogStore(HostStore hostStore,
DispatchAsync dispatcher,
com.google.gwt.core.client.Scheduler scheduler,
BootstrapContext bootstrap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(LogFile logFile) |
void |
changePageSize(int pageSize,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
closeLogFile(String name,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
downloadLogFile(String name,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
follow(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
LogFile |
getActiveLogFile() |
List<ModelNode> |
getLogFiles() |
LogStore.PendingStreamingRequest |
getPendingStreamingRequest() |
boolean |
isOpen(String name) |
void |
navigate(Direction direction,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
openLogFile(String name,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
pauseFollow(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
readLogFiles(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
selectLogFile(String name,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
streamLogFile(String name,
org.jboss.gwt.circuit.Dispatcher.Channel channel) |
void |
unFollow(org.jboss.gwt.circuit.Dispatcher.Channel channel) |
public static final String FILE_NAME
public static final String FILE_SIZE
public static final String LAST_MODIFIED_TIME
public static final String LAST_MODIFIED_TIMESTAMP
protected final List<ModelNode> logFiles
file-namefile-sizelast-modified-dateprotected final Map<String,LogFile> states
protected LogFile activeLogFile
protected LogStore.PendingStreamingRequest pendingStreamingRequest
protected int pageSize
read-log-file operationsprotected boolean pauseFollow
LogStore.RefreshLogFile command
when the related log view is no longer visible.@Inject public LogStore(HostStore hostStore, DispatchAsync dispatcher, com.google.gwt.core.client.Scheduler scheduler, BootstrapContext bootstrap)
public void readLogFiles(org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void openLogFile(String name, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void streamLogFile(String name, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void downloadLogFile(String name, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void closeLogFile(String name, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void selectLogFile(String name, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void navigate(Direction direction, org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void changePageSize(int pageSize,
org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void follow(org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void pauseFollow(org.jboss.gwt.circuit.Dispatcher.Channel channel)
public void unFollow(org.jboss.gwt.circuit.Dispatcher.Channel channel)
protected void activate(LogFile logFile)
public LogFile getActiveLogFile()
public boolean isOpen(String name)
public LogStore.PendingStreamingRequest getPendingStreamingRequest()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.