Java org.springframework.integration.file.remote.session CachingSessionFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.file.remote.session CachingSessionFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.file.remote.session CachingSessionFactory.

The text is from its open source code.

Constructor

CachingSessionFactory(SessionFactory sessionFactory)
Create a CachingSessionFactory with an unlimited number of sessions.
CachingSessionFactory(SessionFactory sessionFactory, int sessionCacheSize)
Create a CachingSessionFactory with the specified session limit.

Method

SessiongetSession()
Get a session from the pool (or block if none available).
voidsetSessionWaitTimeout(long sessionWaitTimeout)
Sets the limit of how long to wait for a session to become available.