Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.configuration
Interface NetworkTargetConfiguration

All Superinterfaces:
TargetConfiguration
All Known Implementing Classes:
NetworkTargetConfigurationImpl, NetworkTargetConfigurationReadOnly

public interface NetworkTargetConfiguration
extends TargetConfiguration

This interface is used for configuring the network target.


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 buffering)
           
 void setExpire(java.lang.Long expire)
           
 void setInMemoryBufferCapacity(int i)
           
 void setSpoolFile(java.lang.String str)
           
 
Methods inherited from interface com.genesyslab.platform.logging.configuration.TargetConfiguration
getFilter, getMessageHeaderFormat, getVerbose, isEnabled, isReadOnly, setEnabled, setFilter, setMessageHeaderFormat, setVerbose
 

Method Detail

getBuffering

Buffering getBuffering()
This property configures the options of buffering usage.


setBuffering

void setBuffering(Buffering buffering)

getInMemoryBufferCapacity

int getInMemoryBufferCapacity()
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.


setInMemoryBufferCapacity

void setInMemoryBufferCapacity(int i)

getSpoolFile

java.lang.String getSpoolFile()
The name of the spool file. Actual spool file name will be 'SpoolFile'.'queue id'.'Timestamp'.qsp


setSpoolFile

void setSpoolFile(java.lang.String str)

getExpire

java.lang.Long getExpire()
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.


setExpire

void setExpire(java.lang.Long expire)

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.