public class DatagramLoggingActivityFactory extends Object implements ActivityFactory
org.apache.oodt.commons.activity.DatagramLoggingActivityFactory.host
(or
activity.host
if not defined) teslls to what host to send the datagrams.
There's no default value, and it's an runtime exception if neither property's defined.
The property org.apache.oodt.commons.activity.DatagramLoggingActivityFactory.port
(or
activity.port
if not defined) tells to what port to send the datagrams.
It defaults to 4556.
Once created, it records incidents by serializing them into a byte buffer and sending that buffer as a datagram to the activity host/port. This does limit the size of incidents that can go over, but most incidents are pretty small.
Constructor and Description |
---|
DatagramLoggingActivityFactory()
Creates a new
DatagramLoggingActivityFactory instance. |
public DatagramLoggingActivityFactory()
DatagramLoggingActivityFactory
instance.public Activity createActivity()
createActivity
in interface ActivityFactory
Activity
value.Copyright © 1999-2014 Apache OODT. All Rights Reserved.