为您找到相关结果91,725个
js如何实现元素曝光上报_javascript技巧_脚本之家
node.__wg__tracker__exposured__ = true // 开始观察 this.intersectionObserver.observe( node ); }) } disconnect() { if (!this.intersectionObserver) { return } this.intersectionObserver.disconnect() } isDOM(obj) { if( !obj ) { return false } if( typeof HTMLElement === 'object' ) {...
www.jb51.net/article/1671...htm 2024-10-2
利用JavaScript实现绘制2023新年烟花的示例代码_javascript技巧_脚本...
Passionately built by Caleb Miller. <!-- partial -->
www.jb51.net/article/2732...htm 2024-10-1
iOS开发-自定义相机实例(仿微信)_IOS_脚本之家
// if ([captureDevice isExposurePointOfInterestSupported]) { // [captureDevice setExposurePointOfInterest:point]; // } if ([captureDevice isExposureModeSupported:exposureMode]) { [captureDevice setExposureMode:exposureMode]; } if ([captureDevice isFocusModeSupported:focusMode]) { [captureDevice...
www.jb51.net/article/1088...htm 2017-3-20
一文掌握Spring中循环依赖与三级缓存_java_脚本之家
可以看到 earlySingletonExposure 为 true,就会将 创建出来的A对象实例对象放入到三级缓存之中 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 protected void addSingletonFactory(String beanName, ObjectFactory<?> singletonFactory) { // 对 singletonFactory 进行非空校验 Assert.notNull(singletonFactory, "...
www.jb51.net/program/299290b...htm 2024-10-5
springboot集成普罗米修斯(Prometheus)的方法_java_脚本之家
exposure: include: 'prometheus' metrics: tags: application: ${spring.application.name} 写一个API接口,用作测试。代码如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 @RestController public class TestController { Logger logger = LoggerFactory.getLogger(TestController.class); @GetMapping("/tes...
www.jb51.net/article/1928...htm 2024-10-5
详解用Spring Boot Admin来监控我们的微服务_java_脚本之家
1 2 management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always使执行器端点可访问: 1 2 3 4 5 6 7 8 @Configuration public static class SecurityPermitAllConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception {...
www.jb51.net/article/1933...htm 2024-9-29
IntelliJ Idea SpringBoot 数据库增删改查实例详解_java_脚本之家
2016-12-16 14:56:52.083 INFO 15872 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2016-12-16 14:56:52.215 INFO 15872 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http) 2016-12-16 14...
www.jb51.net/article/1346...htm 2024-10-2