Apache ShardingSphere ElasticJob document Nov 01, 2023Job JobConfiguration jobConfig = JobConfiguration.newBuilder("MyJob", 3).cron("0/5 * * * * ?").build(); 4.4 Schedule Job public class MyJobDemo { public static void main(String[] args) { new Sch the range of [0, size(slices) ‐ 1]. Customized sharding options Customized sharding options can build a relationship with the sharding items, converting the sharding items’numbers to more readable business roperties.DATA_KEY, "source=ejob") .cron("0/5 * * * * ?").shardingItemParameters("0=Beijing"). build()).schedule(); } } @Controller @Slf4j public class HttpJobController { @RequestMapping(path0 码力 | 101 页 | 1.53 MB | 1 年前3
Apache ShardingSphere v5.5.0 document162 Use Docker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 Build GraalVM Native Image(Alpha) . . . . . . . . . . . . . . . . . . . . . . . . . 166 Use Helm . . . 390 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 Manual . 2.9 CDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416 Manual .0 码力 | 602 页 | 3.85 MB | 1 年前3
Apache ShardingSphere 5.4.1 Document143 Use Docker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Build GraalVM Native Image(Alpha) . . . . . . . . . . . . . . . . . . . . . . . . . 147 Use Helm . . . 371 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Manual . Through flexible adaptation of database protocols, SQL dialects, and database storage, it can quickly build standards on top of multi‐modal heterogeneous databases, while providing standardized connec‐ tion0 码力 | 572 页 | 3.73 MB | 1 年前3
Apache ShardingSphere 5.0.0-alpha Document267 Pull Official Docker Clone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 Build Docker Clone Manually (Optional) . . . . . . . . . . . . . . . . . . . . . . . 267 v Configure . . . . . . . . . . . . . . . . . . . . 269 4.4.2 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 Build&Deployment . . . . . . . . . . . . . . . . . . . . 277 Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Registry0 码力 | 311 页 | 2.09 MB | 1 年前3
MYBATIS Quick GuideId>mybatisfinalexamples 0.0.1-SNAPSHOT <build>src build>1.8 org.mybatis build(reader); SqlSession session = sqlSessionFactory.openSession(); //Create a new 0 码力 | 34 页 | 301.72 KB | 1 年前3
Mybatis 3.3.0 中文用户指南inputStream = Resources.getResourceAsStream(resource); sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream); 最近更新: 24 五月 2015 最近更新: 24 五月 2015 || 版本: 3.3.0 版本: 3.3.0 PDFmyURL - the best online addMapper(BlogMapper.class); SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(configuration); 注意该例中,configuration 添加了一个映射器类(mapper class)。映射器类是 Java 类,它们包含 SQL 映射语句的注解从而避免 了 XML SqlSessionBuilder.build()方法中。例如: SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, props); // ... or ... SqlSessionFactory factory = sqlSessionFactoryBuilder.build(reader, environment0 码力 | 98 页 | 2.03 MB | 1 年前3
Apache ShardingSphere ElasticJob 中文文档 2023 年 11 月 01 日作业配置 JobConfiguration jobConfig = JobConfiguration.newBuilder("MyJob", 3).cron("0/5 * * * * ?").build(); 4.4 作业调度 public class MyJobDemo { public static void main(String[] args) { new ScheduleJob roperties.DATA_KEY, "source=ejob") .cron("0/5 * * * * ?").shardingItemParameters("0=Beijing"). build()).schedule(); } } @Controller @Slf4j public class HttpJobController { @RequestMapping(path newBuilder("myJob", 3).cron("0/5 * * * * ?").shardingItemParameters("0=Beijing,1=Shanghai,2=Guangzhou").build(); 作业启动 ElasticJob 调度器分为定时调度和一次性调度两种类型。每种调度器启动时均需要注册中心配置、作业对 象(或作业类型)以及作业配置这 3 个参数。 定时调度 public0 码力 | 98 页 | 1.97 MB | 1 年前3
Apache ShardingSphere 5.2.1 Document181 Use Docker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 Build GraalVM Native Image(Alpha) . . . . . . . . . . . . . . . . . . . . . . . . . 185 Use Helm . . . 255 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 Manual . Through flexible adaptation of database protocols, SQL dialects, and database storage, it can quickly build standards on top of multi‐modal heterogeneous databases, while providing standardized connec‐ tion0 码力 | 523 页 | 4.51 MB | 1 年前3
Apache ShardingSphere 5.1.1 Document. . . . . . . . . . . . . . . . . . . . 211 5.4.2 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Build&Deployment . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy and a unified sharding strategy by the same registry center, ShardingSphere can build an application system that is applicable to all kinds of scenarios. Ar‐ chitects can adjust the system proxy‐bin/ 2.2. ShardingSphere-Proxy 8 Apache ShardingSphere document, v5.1.1 Please refer to Build Manual for more details. 2.3.2 Import Dependencies If the backend database is PostgreSQL, there’s0 码力 | 458 页 | 3.43 MB | 1 年前3
Apache ShardingSphere 5.1.2 Document217 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Manual . ShardingSphere‐Proxy and a unified sharding strategy by the same registry center, ShardingSphere can build an application system that is applicable to all kinds of scenarios. Ar‐ chitects can adjust the system ShardingSphere‐Proxy and a unified sharding strategy by the same registry center, ShardingSphere can build an application system that is applicable to all kinds of scenarios. Ar‐ chitects can adjust the system0 码力 | 503 页 | 3.66 MB | 1 年前3
共 24 条
- 1
- 2
- 3













