org.jdiameter.client.impl
Class MetaDataImpl
java.lang.Object
org.jdiameter.client.impl.MetaDataImpl
- All Implemented Interfaces:
- MetaData, Wrapper, IMetaData
- Direct Known Subclasses:
- MetaDataImpl
public class MetaDataImpl
- extends java.lang.Object
- implements IMetaData
Use stack extension point
- Author:
- erick.svenson@yahoo.com, Bartosz Baranowski , Alexandre Mendonca
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beans
protected java.util.List<java.lang.management.MemoryPoolMXBean> beans
stack
protected IContainer stack
state
protected long state
peer
protected IPeer peer
appIds
protected java.util.Set<ApplicationId> appIds
sessionDataSource
protected final ISessionDatasource sessionDataSource
MetaDataImpl
public MetaDataImpl(IContainer s)
MetaDataImpl
public MetaDataImpl(IContainer s,
IStatisticManager statisticFactory)
newLocalPeer
protected IPeer newLocalPeer(IStatisticManager statisticFactory)
getLocalPeer
public Peer getLocalPeer()
- Specified by:
getLocalPeer in interface MetaData
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion in interface MetaData
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion in interface MetaData
getStackType
public StackType getStackType()
- Specified by:
getStackType in interface MetaData
getConfiguration
public Configuration getConfiguration()
- Specified by:
getConfiguration in interface MetaData
updateLocalHostStateId
public void updateLocalHostStateId()
- Description copied from interface:
IMetaData
- Set new value of host state
- Specified by:
updateLocalHostStateId in interface IMetaData
getLocalHostStateId
public long getLocalHostStateId()
- Description copied from interface:
IMetaData
- Return host state value
- Specified by:
getLocalHostStateId in interface IMetaData
- Returns:
- host state value
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> aClass)
throws InternalException
- Specified by:
isWrapperFor in interface Wrapper
- Throws:
InternalException
unwrap
public <T> T unwrap(java.lang.Class<T> aClass)
throws InternalException
- Specified by:
unwrap in interface Wrapper
- Throws:
InternalException
Copyright © 2014. All Rights Reserved.