Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.runtime.configuration
Class NetworkTargetConfigurationReadOnly

java.lang.Object
  extended by com.genesyslab.platform.logging.runtime.configuration.TargetConfigurationReadOnly
      extended by com.genesyslab.platform.logging.runtime.configuration.NetworkTargetConfigurationReadOnly
All Implemented Interfaces:
NetworkTargetConfiguration, TargetConfiguration, TargetConfigurationExt

public class NetworkTargetConfigurationReadOnly
extends TargetConfigurationReadOnly
implements NetworkTargetConfiguration


Constructor Summary
NetworkTargetConfigurationReadOnly(NetworkTargetConfiguration configuration)
           
 
Method Summary
 Buffering getBuffering()
          This property configures the options of buffering usage.
 java.lang.Long getExpire()
          The expiration term for messages in the queue.
 int getInMemoryBufferCapacity()
          This property sets the capacity of in-memory buffers.
 java.lang.String getSpoolFile()
          The name of the spool file.
 void setBuffering(Buffering value)
           
 void setExpire(java.lang.Long expire)
           
 void setInMemoryBufferCapacity(int i)
           
 void setSpoolFile(java.lang.String file)
           
 java.lang.String toString()
           
 
Methods inherited from class com.genesyslab.platform.logging.runtime.configuration.TargetConfigurationReadOnly
getFilter, getMessageHeaderDelimiter, getMessageHeaderFormat, getVerbose, isEnabled, isReadOnly, setEnabled, setFilter, setMessageHeaderDelimiter, setMessageHeaderFormat, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.logging.configuration.TargetConfiguration
getFilter, getMessageHeaderFormat, getVerbose, isEnabled, isReadOnly, setEnabled, setFilter, setMessageHeaderFormat, setVerbose
 

Constructor Detail

NetworkTargetConfigurationReadOnly

public NetworkTargetConfigurationReadOnly(NetworkTargetConfiguration configuration)
Method Detail

getBuffering

public Buffering getBuffering()
Description copied from interface: NetworkTargetConfiguration
This property configures the options of buffering usage.

Specified by:
getBuffering in interface NetworkTargetConfiguration

setBuffering

public void setBuffering(Buffering value)
Specified by:
setBuffering in interface NetworkTargetConfiguration

getInMemoryBufferCapacity

public int getInMemoryBufferCapacity()
Description copied from interface: NetworkTargetConfiguration
This property sets the capacity of in-memory buffers. The in-memory buffers are used for putting messages in the queue (put-buffer) and for taking messages from the queue (get-buffer). The value of this property is the maximum capacity of above mentioned get- and put- buffers.

Specified by:
getInMemoryBufferCapacity in interface NetworkTargetConfiguration

setInMemoryBufferCapacity

public void setInMemoryBufferCapacity(int i)
Specified by:
setInMemoryBufferCapacity in interface NetworkTargetConfiguration

getSpoolFile

public java.lang.String getSpoolFile()
Description copied from interface: NetworkTargetConfiguration
The name of the spool file. Actual spool file name will be 'SpoolFile'.'queue id'.'Timestamp'.qsp

Specified by:
getSpoolFile in interface NetworkTargetConfiguration

setSpoolFile

public void setSpoolFile(java.lang.String file)
Specified by:
setSpoolFile in interface NetworkTargetConfiguration

getExpire

public java.lang.Long getExpire()
Description copied from interface: NetworkTargetConfiguration
The expiration term for messages in the queue. When message's age becomes more than specified by this property the message can be removed due to expiration. Minimal allowed value - 1 hour. Please note, that the expired message is not guaranteed to be removed - it will be in the buffer till the age-check and can be sent to message server before age - check occurs.

Specified by:
getExpire in interface NetworkTargetConfiguration

setExpire

public void setExpire(java.lang.Long expire)
Specified by:
setExpire in interface NetworkTargetConfiguration

toString

public java.lang.String toString()
Overrides:
toString in class TargetConfigurationReadOnly

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.