Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


6.3.5 mail.imap.statuscachetimeout

mail.imap.statuscachetimeout specifies the time-out value in milliseconds for the cache of the STATUS command response.

Description

mail.imap.statuscachetimeout specifies the time-out value in milliseconds for the cache of the STATUS command response. The default value is 1000 (1 second). If the value is 0, then the cache is disabled.

Specifiable values

Type: Integer

0 to 2147483647

Default value

If the definition item is omitted

1000

Examples

Properties properties = new Properties();
properties.setProperty("mail.imap.statuscachetimeout", "30");
Session session = Session.getDefaultInstance(properties);
Store store = session.getStore("imap");
store.connect("user", "password");
messages = folder.getMessages();