public abstract class Entry extends Object
Entry
is the basic unit of statistic information that can be
stored in a statistics workspace.Constructor and Description |
---|
Entry(String pathPrefix)
Creates a new entry.
|
Modifier and Type | Method and Description |
---|---|
String |
getPath() |
String |
getPathPrefix()
Returns an absolute path prefix or an empty string if no path prefix is
set.
|
long |
getTimestamp() |
void |
setPathPrefix(String pathPrefix) |
void |
setTimestamp(long timestamp) |
void |
write(Node node)
Writes the timestamp to a long property called
timestamp . |
void |
write(Session session)
Writes this entry to the workspace accessible via
session . |
public Entry(String pathPrefix)
pathPrefix
- the location where the entry will be stored.public final void write(Session session) throws RepositoryException
session
.session
- the session giving access to the worksapce.RepositoryException
- if an error occurs while writing to the
workspace.public void write(Node node) throws RepositoryException
timestamp
.node
- the node where to store the property.RepositoryException
- if an error occurs while writing to the node.public final String getPath()
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- a time stamp for this entry.public String getPathPrefix()
public void setPathPrefix(String pathPrefix)
pathPrefix
- location where the entry will be stored.Copyright © 2010 - 2020 Adobe. All Rights Reserved