Blog notes finishing [...] continually updated

Java basic summary

  • Java basic grammar summary

    Win10 including mounting JDK8, data type variables, operators, array

  • Why do you need to define data types? ? ?

  • Java object-oriented features summary

    Encapsulation, inheritance, polymorphism

  • Dynamic reference memory - a set of defined set && precise - Generic

    Java collections, also known as container, can be dynamically referenced objects stored in the container. (Flexible and scalable)

    What is a generic?

    Parameterized type! ! !
    What is a parameterized type? ? ?
    The specific type (e.g., String, Integer) Parameter abstracted.

  • Data write API - IO stream

    It refers IO Input and Output, the main aim is to achieve the transfer of data between storage media. [Flow: a data stream, the flow stream in analogy]

  • && && reflection enumeration class notes

    In the example of the need for a class or a plurality of relatively fixed and when using enumeration class.

    Annotation is actually a code of special markers , these markers can be compiled, class loading, it is read runtime and executes the corresponding processing.

    Reflection Reflection API allows a program to make any type of internal information by means of operation, and internal properties and methods of any object can be directly operated. (Highest authority)


MySQL Notes

  • MySQL basic summary

    Including MySQL introduced, under Linux installation MySQL remote connections, MySQL common commands, data types, operators

  • MySQL table design specifications

    Common specifications include the design of the table, such as the prohibition pictures stored in the database, such as large binary data files, such as the three major paradigms

  • MySQL indexing and development specifications

    The single table index is preferably not more than 5, the index is preferably added to the where clause


JVM notes

  • JVM memory structure

    Memory structure including thread public and private thread, the thread which includes public heap, the method area, runtime constant pool, private thread stack, including virtual machine, native method stacks and program counter

  • GC collection algorithm && GC collector

    Including labeling algorithm: reachability analysis algorithm, GC Roots object, four, garbage collection algorithm, suitable for old age mark sweep algorithm and tags to organize algorithm for the young generation of replication algorithm and the "local conditions" generational algorithm

    Including seven kinds of collector, single-threaded recovered Serial and Serial Old collector, multi-threaded Parallel Scavenge collector and Parallel Old and popular CMS and G1 collector.

    jdk8 default Parallel Scavenge new generation collector and recycler years old Parallel Old

  • JVM parameters && command tool

    JVM tuning object is to ensure that certain a certain case as much as possible to reduce the number of GC

    Recommended arranged to stack memory and heap memory initialization maximum set to the same value, increased memory space element

    VisualVM visualization tool for monitoring the operation of the JVM

  • JVM class loading mechanism

    Process involves loading class loading, verification, preparation, resolution, initialization

    In order to avoid repeated loading class, JVM using parents delegation model, priority will be submitted to the parent class loader class loader loading the class to avoid repeated loading, class unified


SpringBoot notes

  • SpringBoot——HelloWorld

    Micro service monomer is used in business development to a certain size evolution strategy.

    Including SpringBoot project build process engineering, RestController complex notes, pom dependency analysis and simple deployment.

  • SpringBoot - Web development (static resource mapping)

    WebMVCAutoConfiguration static mapping rules, custom favicon, banner

  • [ SpringBoot - Web Development (using Thymeleaf template engine)]

    thymeleaf jump rule, CRUD test

  • SpringBoot integrated Druid connection pool

    Connection pooling by omitting (multiplexing) the process of creation and destruction connected connection (three-way handshake and the four-way handshake when destroyed when the TCP connection is established), thereby improving performance.

    Arrogant Druid (claimed on the GitHub Wiki is the best Java language database connection pool)

  • SpringBoot integrated Redis cache

    Enhance access efficiency duplicate access to data.

    Redis application scenarios (for data is repeatedly accessed)

    • Page cache (images, CSS, html and other static data) - hot data
    • Current list
    • Leaderboard
    • counter
    • session storage


SpringCloud notes

Design Patterns notes




Architecture design reading notes

Guess you like

Origin www.cnblogs.com/noneplus/p/11566028.html