mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-25 05:22:10 +00:00
parent
f464f77985
commit
34b0181014
@ -137,7 +137,6 @@ public interface ClientConfiguration {
|
|||||||
* Returns the {@link java.time.Duration connect timeout}.
|
* Returns the {@link java.time.Duration connect timeout}.
|
||||||
*
|
*
|
||||||
* @see java.net.Socket#connect(SocketAddress, int)
|
* @see java.net.Socket#connect(SocketAddress, int)
|
||||||
* @see io.netty.channel.ChannelOption#CONNECT_TIMEOUT_MILLIS
|
|
||||||
*/
|
*/
|
||||||
Duration getConnectTimeout();
|
Duration getConnectTimeout();
|
||||||
|
|
||||||
@ -145,8 +144,6 @@ public interface ClientConfiguration {
|
|||||||
* Returns the {@link java.time.Duration socket timeout} which is typically applied as SO-timeout/read timeout.
|
* Returns the {@link java.time.Duration socket timeout} which is typically applied as SO-timeout/read timeout.
|
||||||
*
|
*
|
||||||
* @see java.net.Socket#setSoTimeout(int)
|
* @see java.net.Socket#setSoTimeout(int)
|
||||||
* @see io.netty.handler.timeout.ReadTimeoutHandler
|
|
||||||
* @see io.netty.handler.timeout.WriteTimeoutHandler
|
|
||||||
*/
|
*/
|
||||||
Duration getSocketTimeout();
|
Duration getSocketTimeout();
|
||||||
|
|
||||||
@ -294,7 +291,6 @@ public interface ClientConfiguration {
|
|||||||
* @param timeout the timeout to use. Must not be {@literal null}.
|
* @param timeout the timeout to use. Must not be {@literal null}.
|
||||||
* @return the {@link TerminalClientConfigurationBuilder}
|
* @return the {@link TerminalClientConfigurationBuilder}
|
||||||
* @see java.net.Socket#connect(SocketAddress, int)
|
* @see java.net.Socket#connect(SocketAddress, int)
|
||||||
* @see io.netty.channel.ChannelOption#CONNECT_TIMEOUT_MILLIS
|
|
||||||
*/
|
*/
|
||||||
TerminalClientConfigurationBuilder withConnectTimeout(Duration timeout);
|
TerminalClientConfigurationBuilder withConnectTimeout(Duration timeout);
|
||||||
|
|
||||||
@ -315,8 +311,6 @@ public interface ClientConfiguration {
|
|||||||
* @param timeout the timeout to use. Must not be {@literal null}.
|
* @param timeout the timeout to use. Must not be {@literal null}.
|
||||||
* @return the {@link TerminalClientConfigurationBuilder}
|
* @return the {@link TerminalClientConfigurationBuilder}
|
||||||
* @see java.net.Socket#setSoTimeout(int)
|
* @see java.net.Socket#setSoTimeout(int)
|
||||||
* @see io.netty.handler.timeout.ReadTimeoutHandler
|
|
||||||
* @see io.netty.handler.timeout.WriteTimeoutHandler
|
|
||||||
*/
|
*/
|
||||||
TerminalClientConfigurationBuilder withSocketTimeout(Duration timeout);
|
TerminalClientConfigurationBuilder withSocketTimeout(Duration timeout);
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ public @interface EnableElasticsearchAuditing {
|
|||||||
boolean modifyOnCreate() default true;
|
boolean modifyOnCreate() default true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures a {@link DateTimeProvider} bean name that allows customizing the {@link org.joda.time.DateTime} to be
|
* Configures a {@link DateTimeProvider} bean name that allows customizing the date and time to be
|
||||||
* used for setting creation and modification dates.
|
* used for setting creation and modification dates.
|
||||||
*/
|
*/
|
||||||
String dateTimeProviderRef() default "";
|
String dateTimeProviderRef() default "";
|
||||||
|
@ -55,8 +55,8 @@ public @interface EnableReactiveElasticsearchAuditing {
|
|||||||
boolean modifyOnCreate() default true;
|
boolean modifyOnCreate() default true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures a {@link DateTimeProvider} bean name that allows customizing the {@link org.joda.time.DateTime} to be
|
* Configures a {@link DateTimeProvider} bean name that allows customizing the date and time to be used for setting
|
||||||
* used for setting creation and modification dates.
|
* creation and modification dates.
|
||||||
*/
|
*/
|
||||||
String dateTimeProviderRef() default "";
|
String dateTimeProviderRef() default "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user