Tag:method

  • Talk about ascendingtimestampextractor of flynk

    Time:2021-10-22

    order This paper mainly studies the ascendingtimestampextractor of Flink AscendingTimestampExtractor flink-streaming-java_2.11-1.7.0-sources.jar!/org/apache/flink/streaming/api/functions/timestamps/AscendingTimestampExtractor.java /** * A timestamp assigner and watermark generator for streams where timestamps are monotonously * ascending. In this case, the local watermarks for the streams are easy to generate, because * they strictly follow the timestamps. * * @param <T> The type of the […]

  • How to replace synchronized with lock

    Time:2021-10-22

    In multithreading, before version 1.5, we used synchronous code blocks or synchronous methods to solve thread safety problems For example: Synchronous code block Synchronized (lock object){ Function code;   } Synchronization method   public synchronized void test(){ Function code;   } //Finish sharing data first   class Person{   String name;   boolean isMoney=true; //Earn money   public void zhengQian(){   synchronized(this){   while(!isMoney){ […]

  • Create a set of APM monitoring system with the most complete client functions

    Time:2021-10-22

    APM is the abbreviation of application performance monitoring, which monitors and manages the performance and availability of software applications. Application performance management is very important for the continuous and stable operation of an application. So this article talks about how to accurately monitor and report data from the perspective of IOS app performance management App […]

  • Fundamentals of IOS interview questions

    Time:2021-10-22

    Classification, extension, agent, notification, KVC, KVO, attribute keyword 1、 Category *1. The role of classification? Declare private methods and decompose large class files *2. Characteristics of classification? You can add classifications to system classes. During runtime, after the instance method list, protocol list and attribute list in category are added to the main class (the […]

  • Creating threads using thread class in Java multithreaded programming

    Time:2021-10-22

    There are two ways to create threads in Java: using the thread class and using the runnable interface. When using the runnable interface, you need to create a thread instance. Therefore, whether a thread is established through the thread class or the runnable interface, an instance of the thread class or its subclass must be […]

  • Collection operation of reading zepto source code

    Time:2021-10-22

    The following chapters will interpret the following in zeptodomRelated methods, that is, the source code$.fnObject. The zepto source code series has been posted on GitHub. Welcome to star:reading-zepto Source version The source code of this article iszepto1.2.0 .forEach() forEach: emptyArray.forEach Because zepto’sdomCollection is an array of classes, so here we simply copy the arrayforEachmethod. concreteforEachSee […]

  • Compose and applymeddleware in Redux

    Time:2021-10-21

    Compose method Compose function definition The compose method uses the of arraysreduceMethod to combine multiple methods into one method in a certain order, so as to achieve a functionAutomatic orderly executionThe effect of. The execution order of each method depends on how the reduce method is applied. The simple implementation of compose is as follows: […]

  • Talk about flynk’s boundedoutordernesstimestampextractor

    Time:2021-10-21

    order This article mainly studies the bounded out of orderness timestampextractor of Flink BoundedOutOfOrdernessTimestampExtractor flink-streaming-java_2.11-1.7.0-sources.jar!/org/apache/flink/streaming/api/functions/timestamps/BoundedOutOfOrdernessTimestampExtractor.java /** * This is a {@link AssignerWithPeriodicWatermarks} used to emit Watermarks that lag behind the element with * the maximum timestamp (in event time) seen so far by a fixed amount of time, <code>t_late</code>. This can * help reduce the […]

  • Hytrix practical experience sharing

    Time:2021-10-21

    1、 Background Hystrix is an open-source fault-tolerant framework of netlifx. It is a sharp anti avalanche weapon. It has the functions of service degradation, service fusing, dependency isolation, monitoring (hystrix dashboard), etc. Although hytrix is no longer officially maintained, and there are new frameworks such as Alibaba sentinel, in terms of component maturity and application […]

  • IntelliJ idea common shortcut keys

    Time:2021-10-21

    One of the reasons why idea is difficult for novices may be that there are many and complex shortcut key combinations, but it is also very complete. Basically all functions can be completed through shortcut keys. It can be said that if you master the use of all shortcut keys of idea, you can completely […]

  • Read a little webpack-001 every day

    Time:2021-10-21

    Read a little webpack every day Day-01-webpack entry NPM package we can usepackage.jsonQuickly locate the package information file in the package to the entry file of the package throughwebpackPackage information formainField can get the entirewebpackThe entrance location of the project islib/index.js Entry file Each module of the project is integrated through dynamic import in the […]

  • Tiktok x-gorgon algorithm localization search process notes 2021-02-07

    Time:2021-10-21

    Introduction: * * this analysis is tiktok version: 14.1     X-gorgon version: 0404 Tiktok is the largest and most active platform in tiktok. There are many people in different industries who do reverse analysis. In the process of packet capture, the communication of shaking sounds involves a signature called x-gorgon. This signature is an […]