class OsgiMgmtReporter extends OSGIActor with MgmtReporter
Actor, that collects various container information and send's it to a remote management container.
Sources of information:
* ServiceInfo from the Akka event stream
* (Long, ListProfile) from the Akka event stream
Send to remote container:
* ContainerInfo send via HTTP POST request
Configuration:
This actor reads a configuration class MgmtReporterConfig from the OSGIActorConfig.
Only if all necessary configuration are set (currently initialUpdateDelayMsec and updateIntervalMsec), the reporter sends information to the management container.
The target URL of the management container is configured with the registryUrl config entry.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OsgiMgmtReporter
- MgmtReporter
- PrickleSupport
- OSGIActor
- ServiceProviding
- ServiceConsuming
- DominoImplicits
- ActorLogging
- Actor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new OsgiMgmtReporter(cfg: OSGIActorConfig)
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bundleActor(bundleName: String): Future[ActorRef]
- Definition Classes
- OSGIActor
-
def
bundleActorConfig: Config
- Attributes
- protected
- Definition Classes
- OSGIActor
-
def
bundleContext: BundleContext
- Attributes
- protected
- Definition Classes
- OSGIActor → ServiceProviding → ServiceConsuming → DominoImplicits
-
val
bundleSymbolicName: String
- Definition Classes
- OSGIActor
-
def
capsuleContext: CapsuleContext
- Attributes
- protected
- Definition Classes
- OSGIActor → ServiceProviding
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
config: Try[MgmtReporterConfig]
- Definition Classes
- OsgiMgmtReporter → MgmtReporter
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
def
createContainerInfo: ContainerInfo
- Attributes
- protected
- Definition Classes
- OsgiMgmtReporter → MgmtReporter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
fromEntityUnmarshaller[T](implicit u: Unpickler[T], config: PConfig[JsValue]): FromEntityUnmarshaller[T]
- Definition Classes
- PrickleSupport
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: LoggingAdapter
- Definition Classes
- ActorLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- MgmtReporter → Actor
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- MgmtReporter → Actor
-
val
prickleMediaType: WithFixedCharset
- Definition Classes
- PrickleSupport
-
def
profileInfo: ProfileInfo
- Attributes
- protected
- Definition Classes
- MgmtReporter
-
def
receive: Receive
- Definition Classes
- MgmtReporter → Actor
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
def
service[S <: AnyRef](filter: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Option[S]
- Definition Classes
- ServiceConsuming
-
def
service[S <: AnyRef](implicit arg0: ClassTag[S]): Option[S]
- Definition Classes
- ServiceConsuming
-
def
serviceInfos: Map[String, ServiceInfo]
- Attributes
- protected
- Definition Classes
- MgmtReporter
-
def
serviceRef[S <: AnyRef](filter: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Option[ServiceReference[S]]
- Definition Classes
- ServiceConsuming
-
def
serviceRef[S <: AnyRef](implicit arg0: ClassTag[S]): Option[ServiceReference[S]]
- Definition Classes
- ServiceConsuming
-
implicit
def
serviceRefToRichServiceRef[S <: AnyRef](serviceRef: ServiceReference[S]): RichServiceReference[S]
- Definition Classes
- DominoImplicits
-
def
serviceRefs[S <: AnyRef](filter: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Seq[ServiceReference[S]]
- Definition Classes
- ServiceConsuming
-
def
serviceRefs[S <: AnyRef](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Seq[ServiceReference[S]]
- Definition Classes
- ServiceConsuming
-
implicit
def
serviceToProvidableService[S](service: S): ProvidableService[S]
- Definition Classes
- ServiceProviding
-
def
services[S <: AnyRef](filter: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Seq[S]
- Definition Classes
- ServiceConsuming
-
def
services[S <: AnyRef](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): Seq[S]
- Definition Classes
- ServiceConsuming
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
toEntityMarshaller[T](implicit p: Pickler[T], config: PConfig[JsValue]): ToEntityMarshaller[T]
- Definition Classes
- PrickleSupport
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withAdvancedService[S <: AnyRef, R](filter: String)(f: (Option[S]) ⇒ R)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[S], arg1: ClassTag[S]): R
- Definition Classes
- ServiceConsuming
-
def
withService[S <: AnyRef, R](f: (Option[S]) ⇒ R)(implicit arg0: ClassTag[S]): R
- Definition Classes
- ServiceConsuming