What is the meaning of Pessimistic?

Marked by pessimism and little hopefulness; expecting the worst.

Pertaining to the worst-case scenario.

Taking out exclusive locks on data to prevent conflicts with other processes that might modify it.

Source: wiktionary.org