org.apache.lens.server.session
Class LensSessionImpl.LensSessionPersistInfo
java.lang.Object
org.apache.lens.server.session.LensSessionImpl.LensSessionPersistInfo
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- LensSessionImpl
public static class LensSessionImpl.LensSessionPersistInfo
- extends Object
- implements Externalizable
The Class LensSessionPersistInfo.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LensSessionImpl.LensSessionPersistInfo
public LensSessionImpl.LensSessionPersistInfo()
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getResources
public List<LensSessionImpl.ResourceEntry> getResources()
setResources
public void setResources(List<LensSessionImpl.ResourceEntry> resources)
getConfig
public Map<String,String> getConfig()
setConfig
public void setConfig(Map<String,String> config)
getDatabase
public String getDatabase()
setDatabase
public void setDatabase(String database)
getSessionHandle
public org.apache.lens.api.LensSessionHandle getSessionHandle()
setSessionHandle
public void setSessionHandle(org.apache.lens.api.LensSessionHandle sessionHandle)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
setLastAccessTime
public void setLastAccessTime(long accessTime)
getLastAccessTime
public long getLastAccessTime()
setSessionConf
public void setSessionConf(Map<String,String> sessionConf)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.