Java Code Examples for org.apache.flink.api.common.state.StateTtlConfig#StateVisibility

The following examples show how to use org.apache.flink.api.common.state.StateTtlConfig#StateVisibility . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TtlStateTestBase.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
private void initTest(
	StateTtlConfig.UpdateType updateType,
	StateTtlConfig.StateVisibility visibility,
	long ttl) throws Exception {
	initTest(getConfBuilder(ttl)
		.setUpdateType(updateType)
		.setStateVisibility(visibility)
		.build());
}
 
Example 2
Source File: TtlStateTestBase.java    From flink with Apache License 2.0 5 votes vote down vote up
private void initTest(
	StateTtlConfig.UpdateType updateType,
	StateTtlConfig.StateVisibility visibility,
	long ttl) throws Exception {
	initTest(getConfBuilder(ttl)
		.setUpdateType(updateType)
		.setStateVisibility(visibility)
		.build());
}
 
Example 3
Source File: TtlStateTestBase.java    From flink with Apache License 2.0 5 votes vote down vote up
private void initTest(
	StateTtlConfig.UpdateType updateType,
	StateTtlConfig.StateVisibility visibility,
	long ttl) throws Exception {
	initTest(getConfBuilder(ttl)
		.setUpdateType(updateType)
		.setStateVisibility(visibility)
		.disableCleanupInBackground()
		.build());
}
 
Example 4
Source File: TtlStateTestBase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
private void initTest(
			StateTtlConfig.UpdateType updateType,
			StateTtlConfig.StateVisibility visibility) throws Exception {
	initTest(updateType, visibility, TTL);
}
 
Example 5
Source File: TtlStateTestBase.java    From flink with Apache License 2.0 4 votes vote down vote up
private void initTest(
			StateTtlConfig.UpdateType updateType,
			StateTtlConfig.StateVisibility visibility) throws Exception {
	initTest(updateType, visibility, TTL);
}
 
Example 6
Source File: TtlStateTestBase.java    From flink with Apache License 2.0 4 votes vote down vote up
private void initTest(
			StateTtlConfig.UpdateType updateType,
			StateTtlConfig.StateVisibility visibility) throws Exception {
	initTest(updateType, visibility, TTL);
}